WoBike icon indicating copy to clipboard operation
WoBike copied to clipboard

Add hive

Open robbi5 opened this issue 5 years ago • 9 comments

Site: https://www.ridehive.com Android: https://play.google.com/store/apps/details?id=com.ridehive.app iOS: https://itunes.apple.com/us/app/hive-scooters/id1439420370

Based on fleetbird / WunderFleet.

robbi5 avatar Feb 10 '19 19:02 robbi5

Base URL: https://hive.frontend.fleetbird.eu/api/prod/v1.06/ No special Headers or Auth needed.

https://hive.frontend.fleetbird.eu/api/prod/v1.06/territories/all/ https://hive.frontend.fleetbird.eu/api/prod/v1.06/locations/ https://hive.frontend.fleetbird.eu/api/prod/v1.06/cars/types/ https://hive.frontend.fleetbird.eu/api/prod/v1.06/map/cars/?lat1=38.692413&lat2=38.706059&lon1=-9.171600&lon2=-9.146290 https://hive.frontend.fleetbird.eu/api/prod/v1.06/cars/?lat=0&lon=0 https://hive.frontend.fleetbird.eu/api/prod/v1.06/cars/10858/

robbi5 avatar Feb 11 '19 12:02 robbi5

Seems like it they changed their Api. Since I got an empty result.

HoneyBass avatar Jun 05 '19 07:06 HoneyBass

@HoneyBass They didn"t changed their API but only ~500 are availlable in Europe. If you check on app, you can find them only on Lisboa

I don't know if they ll stop or come back

PierrickP avatar Jun 05 '19 07:06 PierrickP

@HoneyBass They didn"t changed their API but only ~500 are availlable in Europe. If you check on app, you can find them only on Lisboa

I don't know if they ll stop or come back

i used the lat1 lat2 link it doesn't show any signs of scooters in my city. But the other links work. I can get all the scooters if i give them in the id of them. I want to find out how many scooters are in my city at the moment, but the App doesn't give me the Information. I know that the scooters are there but the App doesn't show it, if i want to trace the traffic.

HoneyBass avatar Jun 05 '19 11:06 HoneyBass

No need to pass lat/lng, https://hive.frontend.fleetbird.eu/api/prod/v1.06/cars/ return all vehicles. You can filter by city field but i advice you to filter by lat/lng (some vehicles was baddly tagged).

To correct myself, there are currently (15:30) around 2k vehicles. They probably shutdown during the night and they disaper from somes cities (Paris 🇫🇷 )

@HoneyBass Where are you ?

PierrickP avatar Jun 05 '19 13:06 PierrickP

Hmn, they Shutdown the Api for this particular request. Everything is fine now.

HoneyBass avatar Jun 07 '19 10:06 HoneyBass

added simple description to README with 15058d4710cd67b56635735676dd10a690c70c9f

ubahnverleih avatar Jun 18 '19 15:06 ubahnverleih

Hi. Their login endpoint does some magic. did anyone manage to login from POSTMAN? POST https://hive.frontend.fleetbird.eu/api/prod/v1.06/login Authorization: Basic *** body: {"grant_type":"client_credentials"} where *** is base64 encoded string in format 'email:hashed_password'

problem here is i don't know what hashing algo do they use for pass encryption. Hints welcome ;)

rrozek avatar Aug 07 '19 10:08 rrozek

Hive is shut down. Please close this issue.

BastelPichi avatar Dec 19 '22 16:12 BastelPichi