citibike.cr
citibike.cr
A simple wrapper over the NYC Citi Bike GBFS feed.
Uses the feed's TTL to cache requests.
Installation
Add this to your application's shard.yml
:
dependencies:
citibike:
github: woodruffw/citibike.cr
Usage
require "citibike"
# play with these five methods:
CitiBike.system_regions
CitiBike.system_information
CitiBike.station_information
CitiBike.system_alerts
CitiBike.station_status
Contributing
- Fork it (https://github.com/woodruffw/citibike/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- woodruffw William Woodruff - creator, maintainer
Repository
citibike.cr
Owner
Statistic
- 0
- 0
- 0
- 1
- 0
- over 4 years ago
- July 7, 2018
License
Other
Links
Synced at
Fri, 08 Nov 2024 00:38:58 GMT
Languages