A HTTP API written in Go that exposes StatsCounter's browser share dataset as JSON
http://browser-stats.herokuapp.com/stats?from=2016-06&to=2016-06
Returns an array of the most popular browsers and respective market shares.
from
- the month and year at which the data should startto
- the month and year at which the data should end
These parameters must be specified in a YYYY-MM
format, otherwise one will receive a HTTP 400.
go get github.com/tools/godep
cd <your Go src directory>
git clone https://github.com/jamesseanwright/browserstats.git
cd browserstats
godep restore
PORT=8080 go run server.go
go test ./internal/tests/
Only some coverage thus far.