BikeShare: a Ruby gem for Bay Area Bike Share
San Francisco is a fantastic city that suffers from some infrastructure problems. Most notably, biking infrastructure is pretty sparse. Of all of the ways to get around the city, biking is probably the best (and healthiest) option. That said, we need to make our city so much safer and more accessible for bikers.
Recently, Bay Area Bike Share went live which will help introduce more biking into the city and the South Bay. Options for their web and mobile apps aren’t too good right now and I wanted to help.
bikeshare is a Ruby gem that makes working with Bay Area Bike Share’s station and bike information pretty easy.
Start by including
bikeshare in your Gemfile or with a
require statement at the top of your Ruby script.
After, you can instantiate a new
BikeShare class which will give you the latest data from every bike share station in the Bay Area.
Continue reading →