mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 5.2. tool request=bikes_all
This commit is contained in:
parent
b56bd98906
commit
616e8e1b8a
1 changed files with 58 additions and 26 deletions
|
@ -41,7 +41,7 @@
|
|||
| key | Required | Format | Comment |
|
||||
| ------------------ | -------- | ---------------- | -------------------------- |
|
||||
| system | o | text | ex. "Ilockit" |
|
||||
| battery | o | object | contains smartlock battery attributes. |
|
||||
| battery | o | object | contains smartlock battery attributes. Look at example response |
|
||||
|
||||
|
||||
Example
|
||||
|
@ -57,33 +57,65 @@ https://shareeapp-primary.copri-bike.de/APIjsonserver?request=bikes_all&authcook
|
|||
***sharee JSON defaults***
|
||||
},
|
||||
"bikes" : {
|
||||
"WUE5526" : {
|
||||
"state" : "available",
|
||||
"service_code" : [
|
||||
"blue",
|
||||
"red",
|
||||
"green",
|
||||
"green",
|
||||
"red",
|
||||
"red"
|
||||
],
|
||||
"gps" : {
|
||||
"longitude" : "7.8167567567",
|
||||
"latitude" : "47.98797891085045"
|
||||
},
|
||||
"service_state" : "0",
|
||||
"lock_state" : "locked",
|
||||
"description" : "Lasten-Dreirad Bert",
|
||||
"bike" : "WUE5526",
|
||||
"todo_info" : "0",
|
||||
"bike_group" : [
|
||||
"WUE300029"
|
||||
],
|
||||
"station" : "WUE303",
|
||||
"Ilockit_GUID" : "",
|
||||
"uri_operator" : "https://shareeapp-wue.copri-bike.de",
|
||||
"FR4781" : {
|
||||
"bike" : "FR4781",
|
||||
"smartlock_type" : {
|
||||
"system" : "Ilockit",
|
||||
"Ilockit_ID" : "00000000-0000-0000-0000-fc3c045a2ade"
|
||||
"battery" : {
|
||||
"charge_current_percent" : "37"
|
||||
}
|
||||
},
|
||||
"system" : "Ilockit",
|
||||
"state" : "available",
|
||||
"station" : "FR105",
|
||||
"rental_description" : {
|
||||
"id" : "5533",
|
||||
"reserve_timerange" : "15",
|
||||
"name" : "E-Lastenrad",
|
||||
"rental_info" : {
|
||||
"1" : [
|
||||
"Tracking",
|
||||
"Ich stimme der Speicherung (Tracking) meiner Fahrstrecke zwecks wissenschaftlicher Auswertung und Berechnung der CO2-Einsparung zu!"
|
||||
]
|
||||
},
|
||||
"tarif_elements" : {
|
||||
"4" : [
|
||||
"Max. Gebühr",
|
||||
"24,00 € / Tag"
|
||||
],
|
||||
"1" : [
|
||||
"Mietgebühr",
|
||||
"2,00 € / 30 Min "
|
||||
]
|
||||
}
|
||||
},
|
||||
"bike_type" : {
|
||||
"engine" : {
|
||||
"manufacturer" : "dummy"
|
||||
},
|
||||
"category" : "cargo",
|
||||
"wheels" : "2",
|
||||
"battery" : {
|
||||
"charge_current_bars" : "4",
|
||||
"hidden" : "0",
|
||||
"charge_current_percent" : "70",
|
||||
"backend_accessible" : "0",
|
||||
"charge_max_bars" : "5"
|
||||
}
|
||||
},
|
||||
"Ilockit_ID" : "ISHAREIT-2404781",
|
||||
"authed" : "1",
|
||||
"gps" : {
|
||||
"longitude" : "7.973855",
|
||||
"latitude" : "47.927738"
|
||||
},
|
||||
"uri_operator" : "https://shareeapp-operator.example.tld",
|
||||
"lock_state" : "locked",
|
||||
"Ilockit_GUID" : "00000000-0000-0000-0000-fea583da99f8",
|
||||
"bike_group" : [
|
||||
"FR300101"
|
||||
],
|
||||
"description" : "E-Lastenrad"
|
||||
},
|
||||
"WUE5525" {
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue