Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 693 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 693 Bytes

citibike-station-history

Grab a copy of the NYC Citibike stations.json file every 10 minutes and save it to S3.

The list of snapshots is here: https://citibike-station-history.s3.amazonaws.com/snapshots.json

This runs on Heroku under the scheduler addon.

To run this, you should (TK TK TK check this!) need Ruby 2.2.1 (I use rbenv), bundle install, make an S3 bucket and fill in .env, then bundle exec rake download. There is no web component (yet!)

The .env file looks like:

S3_BUCKET=(your bucket)
S3_ACCESS_KEY=(your key)
S3_SECRET_KEY=(your secret)