Vehicles

Vehicles refer to geolocalized vehicles (such as bikes, cars, etc.) as well as stations (virtual or not).
To query vehicles, see the vehicles query.

All providers implement the vehicle interface, and some also implement the station interface.

Let's see how to use it.

Get vehicles

The most simple query.
It takes as its argument a position (latitude, longitude) and returns an array of vehicles ( vehicle &   station) available within a radius of 400 meters.

The fields returned correspond to those requested. See vehicles & stations Interfaces for available fields.

Get vehicles & stations

In order to get stations details, we must use Inline Fragments GraphQL

Get vehicles with omitted providers

In order to optimize calls, it may be interesting to restrict the suppliers requested.
You can add a list of suppliers to be omitted as arguments.