Add the following code to your project's shard.yml under:
dependencies
to use in production
- OR -
development_dependencies
to use in development
A simple wrapper over the NYC Citi Bike GBFS feed.
Uses the feed's TTL to cache requests.
Add this to your application's shard.yml
:
dependencies:
citibike:
github: woodruffw/citibike.cr
require "citibike"
# play with these five methods:
CitiBike.system_regions
CitiBike.system_information
CitiBike.station_information
CitiBike.system_alerts
CitiBike.station_status
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)