addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [NYC-rb] [ANN] citibikenyc v0.0.1

From: Aidan F.
Sent on: Monday, July 15, 2013 11:39 AM
Nice!  Is there API documentation available somewhere?  All I could find is the "Get the Data" link in the bottom right of this page:

On Mon, Jul 15, 2013 at 11:28 AM, Edgar Gonzalez <[address removed]> wrote:
A gem wrapper for CitibikeNYC API -

Install and require the gem manually or through bundler.


  # Get a list of all stations
  puts Citibikenyc.stations

  # Get only the current status for all stations
  puts Citibikenyc.stations_status

  # Get helmets info
  puts Citibikenyc.helmets

  # Get branches info
  puts Citibikenyc.branches

Because the gem is based on Faraday, it supports the following adapters:

* Net::HTTP (default)
* Excon
* Typhoeus
* Patron
* EventMachine

Edgar González

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Edgar Gonzalez ([address removed]) from NYC.rb.
To learn more about Edgar Gonzalez, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy