Comments (2)
API lives at: https://ipa.passion.bike/s/
After creating an account and verifying the mobile number at https://ipa.passion.bike/s/validateOtp
you get the Authorization token in the response as jwtToken
.
To get the bikes:
POST https://ipa.passion.bike/s/getBikesWithYuluZonesWithPolygonsV1
Header: Authorization: Bearer <contents of jwtToken>
Body:
{
"appVersion": "iOS_2.5.32",
"currentlatitude": 19.14084917906153,
"currentlongitude": 72.91730582714081,
"latitude": 19.14084917906153,
"longitude": 72.91730582714081
}
Response (shortened):
{
"data": {
"bike_with_yulu": [
{
"bikes_count": 1,
"description": "IIT Campus Hub",
"distance": 1.023326773491278,
"fleet_id": 1,
"geozone_id": 0,
"id": 2250,
"is_active": 1,
"is_drop_zone": 0,
"label": "300024",
"latitude": "19.1346191",
"longitude": "72.910136",
"marker_lat": "19.1346191",
"marker_lon": "72.910136",
"marker_type": "parking_1",
"modified_by_user_id": 205994,
"modified_by_user_time": 1545638519,
"organisation_id": 1,
"yulu_zone_id": 2244,
"zone_accuracy_radius": 0.05
}
],
"bikes_out": [
{
"bike_id": "1004361",
"distance": 0.5347795248218808,
"latitude": "19.137753333333333",
"longitude": "72.913409999999999"
},
{
"bike_id": "1004313",
"distance": 0.9940966317078287,
"latitude": "19.135351666666665",
"longitude": "72.909843333333328"
}
],
"operationsZones": [],
"polygons": [],
"toShowRequestYulu": false
},
"message": "success",
"status": 200
}
from wobike.
https://ipa.passion.bike/s/validateOtp/
How to create an account, auth & verify phone number from this?
from wobike.
Related Issues (20)
- Add Cabify
- Lime API can't login with email HOT 3
- Bird returns made-up data HOT 2
- Sorting HOT 1
- Ringing Lime Bike, even via POST simply returns 401 Unauthorised. HOT 5
- Bolt Ringing HOT 9
- Add appa
- Add cargoroo HOT 2
- VOI Scooters API authentication HOT 25
- [Not an Issue] Redoing and universal py lib HOT 2
- Accessing Lime API by email HOT 13
- Add Check HOT 2
- Add LINK HOT 1
- Add GO [bankrupt?]
- WeShare API is no longer available HOT 1
- Add Ryde HOT 1
- Beam API not recognizing any versions
- Dead link in Tier.md HOT 2
- Is there any way to unlock a scooter/bike with an api call (doesn't matter which provider) HOT 1
- Voi: 401 error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wobike.