API

Why did you write an API?

I wanted to share the data I generate (determining the "fuckedness" of trains) with others. I found a neat way to use SEPTA's data, and maybe someone else will find a neat way to use my data.

So what are the API endpoints?

  • /api/status Overall status for Regional Rail and Bus System (Includes "fuckedness")
    • If you are doing integrations, this is probably the endpoint you want.
  • /api/rr Regional Rail Data (Includes "fuckedness")
  • /api/bus Bus Data (Includes "fuckedness")

Are there any restrictions on this API?

Please try not to hit the API more than once every few minutes. Otherwise I will have to implement a quota system and that's not fun for anybody.