{"id":16360412,"url":"https://github.com/seanhamlin/mavenlink-scraper","last_synced_at":"2025-12-31T23:30:21.402Z","repository":{"id":76775678,"uuid":"51317667","full_name":"seanhamlin/mavenlink-scraper","owner":"seanhamlin","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-11T10:02:21.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T17:45:35.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanhamlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-08T18:36:47.000Z","updated_at":"2016-02-08T18:42:30.000Z","dependencies_parsed_at":"2023-03-01T13:45:15.274Z","dependency_job_id":null,"html_url":"https://github.com/seanhamlin/mavenlink-scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanhamlin%2Fmavenlink-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanhamlin%2Fmavenlink-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanhamlin%2Fmavenlink-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanhamlin%2Fmavenlink-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanhamlin","download_url":"https://codeload.github.com/seanhamlin/mavenlink-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727065,"owners_count":19687097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T02:11:23.565Z","updated_at":"2025-12-31T23:30:21.058Z","avatar_url":"https://github.com/seanhamlin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mavenlink scraper\n\nThis is a script that will suck out the current month's billable and non-billable minutes for each customer.\n\n## Installation\n\nFirst you will need to install PhantomJS, the [2.1.1 release](http://phantomjs.org/download.html) is preferred. \n\nNext is CasperJS, you can git clone this repo\n\n```\ngit clone https://github.com/n1k0/casperjs.git\ngit checkout master\n```\n\nThen symlink the bin/casperjs script to \u003ccode\u003e/usr/local/bin/casperjs\u003c/code\u003e.\n\nYou can verify this works by running:\n\n```\ncasperjs --version\nphantomjs --version\n```\n\nFrom anywhere (as these should now be on your path).\n\n## Configuration\n\nYou will need to create a config file, based off the default config file\n\n```\ncp default.config.sh config.sh\n```\n\nReplace the dummy username and password with your own.\n\nYou will also need a Google OAuth Service account with access to \"Drive API\", save the credentials as a JSON file called 'google-oauth.json'.\n\n## Run on cron\n\nEdit your crontab, and place this or something like it in there.\n\n```\n# Mavenlink scraper, run twice a day at 1am and 1pm.\n0 1,13 * * 1-5 PHANTOMJS_EXECUTABLE=/usr/local/bin/phantomjs cd /Users/sean.hamlin/projects/mavenlink-scraper \u0026\u0026 /Users/sean.hamlin/projects/mavenlink-scraper/run.sh \u003e /Users/sean.hamlin/projects/mavenlink-scraper/job.log 2\u003e\u00261\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanhamlin%2Fmavenlink-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanhamlin%2Fmavenlink-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanhamlin%2Fmavenlink-scraper/lists"}