getVehicleAvailability
context(service: ServiceManifest)
suspend fun getVehicleAvailability(): Result<GbfsFeedResponse<VehicleAvailability>>(source)
suspend fun getVehicleAvailability(): Result<GbfsFeedResponse<VehicleAvailability>>(source)
Fetches future availability of vehicles that can be reserved in advance.
GBFS 3.1-RC. This feed is optional for station-based vehicles and is not used for free-floating vehicles.
Return
Result wrapping response containing vehicle availability slots, or an error
Context Parameters
service
The GBFS service containing feed URLs