sharedmobility.github.io

Onzo (bikes, Location: New Zealand)

Simple GET request: https://app.onzo.co.nz/nearby/-36.848123/174.765588/50.0

Method: GET

Base url: https://app.onzo.co.nz/nearby/<Latitude>/<Longitude>/<search-radius>

URL-Params:

Parameters Required
latitude X
Longitude X
Search-radius X

Example request (Auckland City):

curl https://app.onzo.co.nz/nearby/-36.848123/174.765588/50.0

Response:

response.data is an Array of bike-data Objects

{
  "code": 0000,
  "data": [{}, {}, {}],
  "msg": "successful"
}

Single bike-data object:

{
  "battery": 52,
  "chargeVoltage": 2,
  "createTime": 1509724800000,
  "direction": 346,
  "height": 0,
  "iccid": "89860117750007958102",
  "id": 199,
  "isLock": 0,
  "latitude": -36.843868,
  "locationMode": 10,
  "lockType": 2,
  "longitude": 174.760133,
  "lstatus": 0,
  "mac": "c240f333b3d9",
  "modelNum": "0000000000000000000000000000000000000000",
  "producid": "81001181",
  "psignal": 26,
  "pstatus": 3932166,
  "speed": 0,
  "unlockedTimes": 456,
  "updateTime": 1544345698000,
  "voltage": 369
}