gabceb / node-bikeshare

A Node npm package for interacting with Bay Area Bike Share stations and bike info
MIT License
4 stars 1 forks source link

Feature parity with Ruby gem #1

Open zackshapiro opened 11 years ago

zackshapiro commented 11 years ago

Would be cool to make sure that both libraries have the same methods and features

gabceb commented 11 years ago

The only 2 methods I decided not to implement were available_bikes and total_docks because these are just properties of the objects that are returned back from station(id).

The other difference in functionality is that when searching for stations by city name ( i.e: stations("San Francisco") ) the bikeshare gem is case sensitive while the bikeshare npm is not. I think this is a bug on the bikeshare gem since the developers using the gem or npm may not know what is the format of the city name so "san francisco" should return the same as "San Francisco" since they are the same city.

Thoughts?