-
Notifications
You must be signed in to change notification settings - Fork 10
v2.1_chargingstations
Andreas Rotter edited this page Sep 30, 2019
·
4 revisions
Provides a list of shareNow charging stations for a specific location like berlin or austin in json format.
The gas stations can be used to recharge a shareNow car. The customer can use the shareNow fuel card to pay at those gas stations.
- Access: public
- URL: http://www.car2go.com/api/v2.1/chargingstations
- 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=berlin&oauth_consumer_key=consumerkey
The response contains a list of spots with a name and its coordinates.
{
"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 car2go GmbH. All rights reserved. Generated 30.09.19 17:30