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.
- Host: GitHub
- URL: https://github.com/mdb/septa_scheduler
- Owner: mdb
- Created: 2015-03-13T12:23:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-14T12:17:46.000Z (almost 10 years ago)
- Last Synced: 2025-01-14T16:36:34.532Z (over 1 year ago)
- Language: Ruby
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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
```