npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

allbikes

v0.2.0

Published

Bike Share API for all Bike Shares.

Downloads

51

Readme

allbikes API NPM Version BuildStatus

allbikes is an API that provides live station information for Bixi-built Bike Share programs around the world.

Stations currently supported and their respective API reference codes (city code).

| Bike Share | City | city_id | | ----- | ------ |------ | | Aspen WE-cycle| Aspen, CO | ASE | | Barclay's Cycle Hire| London, UK| LHR | | Bay Area Bike Share| San Francisco, CA | SFO | | Bike Chattanooga | Chattanooga, TN | CHA | | Capital Bike Share| Washington, D.C.| DCA | | Citi Bike| New York City, NY | JFK | | CoGo | Columbus, OH | CMH | | Divvy | Chicago, IL | ORD | | Hubway | Boston, MA | BOS | | Melbourne Bike Share| Melbourne, Vic | MEL | | Montreal Bixi | Montreal, QC | YUL | | Nice Ride| Minneapolis, MN| MSP | | Ottawa Bixi| Ottawa, Ont| YOW | | Toronto Bixi|Toronto, Ont | YYZ |

goal

While every Bike Share program has a live JSON or XML feed, the data is presented differently thus making a universal bike share app difficult to create. This project aims to provide a easy-to-use solution for all bike-share data queries from around the world.

implemented

all stations

/bikeshare/stations

Example: http://www.sjanderson.org/bikeshare/stations

Returns a JSON array of all stations around the world.

stations from a city

/bikeshare/city/:city_id

Example: http://www.sjanderson.org/bikeshare/city/SFO

Returns a JSON array of stations from a city. Reference the table above for city_ids, I used airport codes.

all stations sorted from closest to farthest

/bikeshare/stations/:lat/:long/

Example: http://www.sjanderson.org/bikeshare/stations/37.42/-122.13

Returns a JSON array of all stations sorted by closest to farthest.

stations from a city sorted from closest to farthest

/bikeshare/city/:city/:lat/:long/

Returns a JSON array of stations from a city sorted by closest to farthest.

Example: http://www.sjanderson.org/bikeshare/city/SFO/37.42/-122.13

contact

Twitter: @SJAndersonLA