citibike

Version, currently 0.1.12 versions

github.com/woodruffw/citibike.cr

A simple wrapper over the NYC CIti Bike GBFS feed.

0 stars
0 dependents
License: MIT with restrictions

Installation

# Add this to your shard.yml
dependencies:
  citibike:
    github: woodruffw/citibike.cr
    version: ~> 0.1.1

Then run:

shards install

shard.yml

Crystal
0.25.1
License
MIT with restrictions
Author
William Woodruff

Dependencies

This version declares no dependencies.

README

citibike.cr

license

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

  1. Fork it (https://github.com/woodruffw/citibike/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • woodruffw William Woodruff - creator, maintainer