Query station amenities
To get a full overview of all amenities at a charging station you can use the amenityList query. Most of them support a link towards foursquare for more information.
To use the amenityList query you will need a station id. This id can be fetched by using our stationList query. After passing in this id you have access to anything from address to rating.
The station ID
Unique amenity ID
ID provided by an amenity data source as the row ID
Name of an amenity
Geo location coordinates. This is a GeoJSON Point
Type of amenity. An amenity can belong to multiple categories
Rating of an amenity, the value will be between 0.0 and 10.0. If no rating has been given, the value will be set to null
Computed distance between station and amenity
Full path URL to amenity foursquare page
Date and time when an amenity was created
Date and time when an amenity was last updated
A response can either contain a
data or an
errors object. The response header will always return
200 as a status code.
When successful, a
data object will be returned with the
requested fields. If there are no fields present the
data object will return the operation name with the
appropriate return type. If the operation was a query, this output
will be an object of the schema’s query root type; if the operation
was a mutation, this output will be an object of the schema’s mutation
If unsuccessful, an
errors object will be returned with
more details in the
extensions object. The error object
can contain any of the following objects.