top of page
GUILLAUME WILLIAM
BRES
SEPTA: Southeastern Pennsylvania Transportation Authority
is the latest API I played with, as I was looking for GPS data.
API: provides the buses, trolleys & regional trains current GPS locations and status.
I wrote a python program requesting data according to the route number.
Buses on line '23' at some time:
Once GPS data have been retrieved, it is easy to create a KML file & use google's applications to display the results.
Inst. speed: by requesting a line twice, I can hope for computing some sort of instantaneous speed. The API refresh rate is about 40s, so I am just performing a linear average for that time and then, using the haversine formula (great circle distance):
Inst. speed of a given ID bus on line '23':
Check my other 'open data' based apps.:
-
'Meteo France' API:
-
Open Weather API:
bottom of page