A bus map, schedules and routes for bus goers in Ho Chi Minh City
A crude project made on my spare time to display information on Ho Chi Minh's public bus network. Please note that it is not very clean (at all :)) as it is my first big android application, also no testing is included.
- Android Jetpack
- Google Map
- Retrofit2
- Room
The API used in this project is provided by Ho Chi Minh's official bus organization. It is completely free and requires no API key but is only useful within HCM city
- Get route using bounding coordinates (south west coords - north east coord): http://apicms.ebms.vn/businfo/getstopsinbounds/south west lng/south west lat/north east lng/north east lat (lat and lng are latitude and longitude coordinates)
- Predict bus schedule by bus stop id: http://apicms.ebms.vn/prediction/predictbystopid/stop_id (it is currently not working)
- Get all the routes through a bus stop by its id: http://apicms.ebms.vn/businfo/getroutesthroughstop/stop_id
- Find bus route to travel to destination: http://apicms.ebms.vn/pathfinding/getpathbystop/start_lat,start_lng/destination_lat,destination_lng/max_number_of_trip (replace lat and lng according to your destination, max_number_of_trip is the maximum number of bus trip you can take (use 2 or 3))