-
Notifications
You must be signed in to change notification settings - Fork 6
missing live location endpoint #10
Comments
I have made a pull request to add the trip planning at #11 |
is the endpoint available now for live tracking of bus? If so, can you please share with parameters as applicable. |
@klpradeepkl I'm not sure if this is the exact endpoint you are looking for, but you can get the live latitude and longitude of a bus like this:
You will have to modify the values of 'Content-Length:69', 'routeNO=401', 'direction=UP', 'salt_value=<32characteralphanumeric>' The actual parameters that the API requires are only the routeNO, direction and a salt value. The response will be similar to this:
|
The endpoint you had mentioned is slightly incorrect. The correct one is https://bmtcmob.hostg.in/api/routemap/details. |
@klpradeepkl As far as I can tell, vehiclelat and vehiclelng are the current position of the bus. nearestlatlng is the coordinates of the nearest bus stop. |
The BMTC app allows planning trip by entering source and destination with live location of buses in the route
The text was updated successfully, but these errors were encountered: