/chargers
Returns a JSON array of location objects.
Parameter | Description |
---|---|
lat | Required. Latitude |
lng | Required. Longitude |
radius | Radius in kilometers. Default is 25. Max is 50. |
Location Object
Property | Type | Description | Example |
---|---|---|---|
id | integer | Location ID | 2181 |
name | string | Location name | “Seattle - NE Northgate Way, WA” |
address | object | Contains address components | { street: “401 NE Northgate Way”, city:“Seattle”, state:“WA”, zip: “98125”, country:“USA” |
gps | object | Contains latitude and longitude coordinate | {latitude: 47.705956, longitude: -122.327133} |
stallCount | integer | Number of chargers | 16 |
powerKilowatt | integer | Charging rate of up to this much kiloWatts | 250 |
distanceKm | float | Distance in kilometers from input coordinate | 9.701 |