Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adamdunkley/casperjs-google-analytics-realtime-scrape


https://github.com/adamdunkley/casperjs-google-analytics-realtime-scrape

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

CasperJS - Google Analytics Real Time Scraping
==============================================

Currently logs in to Google Analytics and scrapes the realtime page for the active visitors number from the overview screen.

Usage:

rake 'run[[email protected],googlePassword,http://api.yourdomain.com/update-metric]'

Your api should take a post variable 'value' which contains the updated count, i.e: `{value: "3098"}`

Make sure to initialise submodules to get CasperJS