An open API service indexing awesome lists of open source software.

https://github.com/mdb/septa_scheduler

JSON endpoints for finding the next scheduled SEPTA bus/trolley stops closest to an address or lat/long point.
https://github.com/mdb/septa_scheduler

Last synced: 7 months ago
JSON representation

JSON endpoints for finding the next scheduled SEPTA bus/trolley stops closest to an address or lat/long point.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/mdb/septa_scheduler.svg?branch=master)](https://travis-ci.org/mdb/septa_scheduler)

# septa_scheduler

A simple Sinatra wrapper for finding the next scheduled SEPTA bus/trolley stops closest to an address or lat/long point. `septa_scheduler` also publishes any relevant alerts regarding service and schedule interruptions.

## Endpoints

* `/address?address=&route=`
* `/point?lat=&lng=&route=`

Examples:

Get the route 34 stop closest to 5000 Hazel Avenue, the next 4 inbound/outbound scheduled stops, and any relevant SEPTA alerts:

```
/address?address=?address=5000%20Hazel%20Avenue&route=34
```

Get the route 34 stop closest to 39.9539910, -75.1682170, the next 4 inbound/outbound scheduled stops, and any relevant SEPTA alerts:

```
/point?lat=39.9539910&lng=-75.1682170&route=34
```