latestSwagger 2.02026-08-10201771.8 KB

e0575f41ded3

Static Data

System Locations

Takes in 4 parameters to return all SEPTA locations from a geographical point within a radius that is measured in miles.

get/locations/get_locations.php

Query parameters

lonnumber double required

Longitude

latnumber double required

Latitude

type'bus_stops' | 'perk_locations' | 'rail_stations' | 'sales_locations' | 'trolley_stops'

Location Type

radiusinteger

Radius

Response

success

location_idstring byte

ID of the Septa resource

location_namestring

Name of the Septa resource

location_latstring

Latitude of the Septa resource

location_lonstring

Longitude of the Septa resource

distancestring

Distance in miles between the resource and the location passed as parameter

loction_typestring

Septa resource types (ex: Bus stops, regional rail stations)