Code Monkey home page Code Monkey logo

clippercard2019api's Introduction

A Public API for the Clipper Card

Using a Clipper Card "smart card," travelers can easily pay for fare on most San Francisco Bay Area public transit systems. The current system provides a clunky web interface for loading cash and paying for monthly passes. Users can export their travel and billing history to a PDF. There is no way to export data in a machine readable format, nor does the Clipper Card system provide any publicly accessible APIs, let alone programmatic "callbacks" that trigger when you swipe your card.

The contract for the Clipper Card system expires in 2019---it's currently held by Cubit Transportation Systems---and the Metropolitan Transportation Commission (MTC) is beginning to solicit requirements from transit agencies for the next version of the system. (More information on the Green Caltrain blog.)

Although the MTC has not opened comments to the general public, there may eventually be opportunities for the Bay Area's community of software developers, hobbyists, and entrepreneurs to offer concrete suggestions on how the next version of the Clipper Card system can be improved.

Below is a letter that I plan on sending to the members of the MTC's administration committee. If you'd like to sign your name to it, please feel free to open a pull request. You're also welcome to propose changes or additions to the letter itself, again with a pull request.

-- Drew Dara-Abrams (@drewda, [email protected])

Letter

To the members of the Metropolitan Transportation Commission administration committee,

Almost every day of the week, I use my Clipper Card to ride a variety of transit systems. It's a great improvement over paying fares with cash and carrying monthly passes, especially for trips that involve more than one agency.

I am glad to hear that the MTC is considering how to improve the Clipper Card system as it prepares for a successor to the system's current contract. Many important improvements will involve much negotiation and cost. I am writing to you all today to suggest a specific improvement to the Clipper Card system that will require little negotiation and little cost: a publicly accessible API (application programming interface) to allow software developers, hobbyists, and entrepreneurs to build software services on top of the Clipper Card system.

Consider how transit agencies around the world have made available their route schedules and station locations to Google and a host of other software providers, which in turn disseminate this information to their users in a variety of attractive and usable web and mobile applications. The agencies release their public data using a common standard and reasonable licensing terms; application developers are then free to consume and package the data into whatever software packages and services they wish to create.

Why not ask potential bidders on the next iteration of the Clipper Card system to do the same? That is, allow third-party software developers to---with each individuals' permission---access the travel and billing histories of a Clipper Card and to get "callback" notifications when an individual tags on and off at stations. All of these data are already being collected as part of the current Clipper Card system. All of these data are already available to transit agency personnel for enforcement. And I, as an individual user, can access these data in a cumbersome process on the clippercard.com site, which produces a PDF file that I can download. But what I cannot do, at present, is build a piece of software that directly accesses this data in a machine readable format and acts on it.

If the next iteration of the Clipper Card system provides such a public API, I and other software developers could create, to give two examples: an application that analyzes your regular transit usage patterns and suggests alternative routes to try or when to purchase a monthly pass; or an application that sends you a text message on your phone with BART system alerts when it's aware that you've entered, but not yet exited, a BART faregate. Applications like this won't solve the difficult challenges that the Bay Area's transit agencies face in deliverying service, but this sort of software can provide useful marginal improvements on existing services, making transit more convenient and usable for both "choice" and "dependent" riders, as well as providing additional ways for the MTC and transit agencies to engage with their riders and constituents.

The Clipper Card system already provides great value to the Bay Area's transit riders. If the MTC can address challenges like cross-agency transfers and zone-based fares in its RFP for the system's next contract, Clipper Card will be even better. While addressing these large challenges, please also consider the small cost and, potentially, large gain of a publicly accessible API (application programming interface) that allows software developers, hobbyists, and entrepreneurs to build software services on top of the Clipper Card system.

Signers

  • Drew Dara-Abrams (lives in Burlingame; works in San Francisco; rides BART, Caltrain, MUNI, Samtrans)

clippercard2019api's People

Contributors

drewda avatar

Watchers

 avatar  avatar  avatar

clippercard2019api's Issues

a clippercard org?

So I'm a developer moving to SF here in about 4 or 5 months, and am using the clipper card for most of my trips while here in town. I found an unofficial python lib to access clipper card info, and would like to build one in node for my applications. I then came across your repo, and thought that this might be a good opportunity to make a github org to collect all of this and present a unified group of devs who want this kind of change to be strong and lasting. Would you have any interest in joining something like that?

Edit: I pulled one together (https://github.com/clippercard), let me know if you want to hop in :) I've reached out to the devs of the python and ruby libs for the site to see if they want to join too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.