This document maps the Flinkster API to GBFS.
This documentation refers to v2.3.
- Introduction
- General Information
- Open Issues or Questions
- Files
- gbfs.json
- gbfs_versions.json (added in v1.1)
- system_information.json
- vehicle_types.json (added in v2.1)
- station_information.json
- station_status.json
- free_bike_status.json
- system_hours.json
- system_calendar.json
- system_regions.json
- system_pricing_plans.json
- system_alerts.json
- geofencing_zones.json (added in v2.1)
This specification describes the mapping of car-sharing provider Flinkster's API to GBFS.
This section gives a high level overview of the sharing provider's API and the defined mapping to GBFS.
The Deutsche Bahn Connect Customer B2B API is available via a API documentation.
Open questions are managed as issues. They should be tagged with flinkster
.
Standard file, feed will be provided in feed language de
only.
Optional file, will not be provided. Only GBFSv2.3 supported.
System information is manually extracted from the providers homepage. Only the real configuration in config/flinkster.json is relevant.
Flinkster API has no explicit endpoint for vehicle types, so they need to be collected from the /availableRentalObjects
endpoint.
GBFS Field | Mapping |
---|---|
vehicle_type_id |
uncapitalized, normalized rentalObject['name'] (not only make and model, as name provides additional infos like number of doors or capacity) |
form_factor |
car |
rider_capacity |
Extracted from rentalObject['name'] if X-Sitzer or X Sitze are contained. |
cargo_volume_capacity |
- |
cargo_load_capacity |
- |
propulsion_type |
rentalObject['fuelType']
|
eco_label |
- |
max_range_meters |
Not provided by Flinkster. Set to 200000 for all vehicle types (200km) |
name |
vehicle_type['make'] + ' ' + vehicle_type['model'] |
vehicle_accessories |
doors_X if rentalObject['name'] contains X-türig or X türig navigation if rentalObject['categoryName'] does not contain ohne Navi |
g_CO2_km |
- |
vehicle_image |
- |
make |
Extracted from rentalObject['name'] |
model |
Extracted from rentalObject['name'] |
wheel_count |
4 |
max_permitted_speed |
- |
rated_power |
- |
default_reserve_time |
- |
return_constraint |
roundtrip_station |
vehicle_assets |
- |
default_pricing_plan_id |
|
pricing_plan_ids |
|
Returns all stations of /areas
endpoint.
GBFS Field | Mapping |
---|---|
station_id |
area['uid'] |
name |
area['name'] |
short_name |
- |
lat |
area['geometry']['position']['coordinates'][1] |
lon |
area['geometry']['position']['coordinates'][0] |
address |
area['address']['street'] + ' ' + area['address']['number'] |
cross_street |
- |
region_id |
- |
post_code |
area['address']['zip'] , if present |
rental_methods |
key |
is_virtual_station |
- |
station_area |
- |
parking_type |
- |
parking_hoop |
- |
contact_phone |
- |
capacity |
- |
vehicle_capacity |
- |
vehicle_type_capacity |
- |
is_valet_station |
- |
is_charging_station |
- |
rental_uris |
- |
web |
- |
Returns all stations of /areas
endpoint.
GBFS Field | Mapping |
---|---|
station_id |
area['uid'] |
num_bikes_available |
no need to provide, will be deduced from x2gbfs via vehicles' stationIds and availability |
vehicle_types_available |
no need to provide, will be deduced from x2gbfs via vehicles' stationIds and availability |
num_bikes_disabled |
- |
num_docks_available |
- |
vehicle_docks_available |
- |
num_docks_disabled |
- |
is_installed |
true |
is_renting |
true |
is_returning |
true |
last_reported |
Not part of API. Setting to current timestamp. |
Returns all (currently available) vehicles of /availableRentalObjects
endpoint.
GBFS Field | Mapping |
---|---|
bike_id |
rentalObject['uid'] |
lat |
rentalObject['position']['coordinates'][1] |
lon |
rentalObject['position']['coordinates'][0] |
is_reserved |
false |
is_disabled |
false |
rental_uris |
- |
vehicle_type_id |
uncapitalized vehicle_type['make'] + '_' + vehicle_type['model'] |
last_reported |
Not part of API. Setting to current timestamp. |
current_range_meters |
max_range_meters * current_fuel_percent (Will be 50000 (50km) if no realtime info is available) |
current_fuel_percent |
rentalObject['fillLevel']/100.0 if existant, 0.25 if not |
station_id |
rentalObject['areaUid'] |
home_station_id |
- |
pricing_plan_id |
- |
vehicle_equipment |
- |
available_until |
- |
license_plate |
rentalObject['licensePlate'] |
Not provided for now. system_hours would describe the whole system, not opening_hours per station.
Not provided for now.
Not provided for now.
Information is manually extracted from the providers website. See config/flinkster.json.
Not provided for now.
Not provided for now.
Currently, no deeplinks for Flinkster are provided.