GbfsV3Client
HTTP client for fetching GBFS v3 feeds.
Functions
Fetches the dataset manifest from the given URL.
suspend fun getGeofencingZones(): GbfsFeedResponse<GeofencingZones>
Fetches geofencing zones that define geographic restrictions.
Fetches the GBFS manifest (auto-discovery file) from the given URL.
suspend fun getStationInformation(): GbfsFeedResponse<StationInformation>
Fetches static information about stations in the system.
Fetches real-time status of stations including available bikes and docks.
Fetches current system alerts about service disruptions or changes.
suspend fun getSystemInformation(): GbfsFeedResponse<SystemInformation>
Fetches system information including name, operator, timezone, and contact details.
suspend fun getSystemPricingPlans(): GbfsFeedResponse<SystemPricingPlans>
Fetches pricing plans for the system.
Fetches information about geographic regions in the system.
Fetches real-time status of free-floating vehicles not currently docked.
Fetches information about vehicle types available in the system.
suspend fun getVersionManifest(): GbfsFeedResponse<VersionManifest>
Fetches the list of GBFS versions supported by this system.