-
Notifications
You must be signed in to change notification settings - Fork 10
v2.1_gasstations
Andreas Rotter edited this page Sep 30, 2019
·
4 revisions
Provides a list of car2go gas stations in context of specific location like ulm or austin in KML format. KML is a file format used to display geographic data in an Earth browser such as Google Earth, Google Maps, and Google Maps for mobile. More information about KML can be found here: KML Reference at code.google.com
The gas stations can be used to refuel a car2go. The customer can use the car2go fuel card to pay at those gas stations.
- Access: public
- URL: http://www.car2go.com/api/v2.1/gasstations
- Method: GET
Name | Mandatory | Description |
---|---|---|
loc | true | location identifier string of the home location for which the vehicles are searched for, e.g. "ulm", "austin". |
oauth_consumer_key | true | your assigned oauth consumer key |
GET http://www.car2go.com/api/v2.1/gasstations?loc=ulm&oauth_consumer_key=consumerkey
The json output defines a placemark tag for each car2go gas station. See the response example for an full placemark.
{
"placemarks":[
{"coordinates":[9.987988,48.358829,0],"name":"Shell, Hauptstraße 12"},
{"coordinates":[9.990183,48.404832,0],"name":"Shell, Karlstraße 38"}
]
}
(c) 2010-2019 shareNow GmbH. All rights reserved. Generated 30.09.19 18:45