The MND system provides real-time access to bus schedules, allowing students to check when the next bus will arrive at their stop.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ihfaz297/MND/llms.txt
Use this file to discover all available pages before exploring further.
Available Bus Routes
MND tracks 7 university bus routes operating between various locations in Sylhet and SUST campus.Get All Routes
Retrieve a list of all available bus routes:Response Example
Response Example
Checking Upcoming Buses
Find out when the next buses will arrive at a specific location.Identify your location
Use the node ID of your current bus stop. You can get available nodes from
/api/nodes.Query upcoming departures
Request upcoming buses from your location:
The
limit parameter controls how many results to return (default: 5, max: 20).Understanding Bus Status
Each upcoming bus has a status indicator:| Status | Description | Minutes Until |
|---|---|---|
arriving | Bus is arriving now | 0 |
soon | Bus will arrive shortly | 1-5 minutes |
scheduled | Bus is on schedule | 6+ minutes |
Filtering by Destination
If you only want to see buses going to a specific destination, use theto parameter:
Trip Directions
Buses operate in two directions:to_campus
to_campus
Buses traveling from city locations toward SUST campus. These trips typically run in the morning and early afternoon.Common stops sequence:
- TILAGOR → SHIBGONJ → NAIORPUL → KUMARPARA → AMBARKHANA → SUBIDBAZAR → CAMPUS
from_campus
from_campus
Buses returning from campus to city locations. These trips run in the afternoon and evening after classes.Common stops sequence:
- CAMPUS → SUBIDBAZAR → AMBARKHANA → KUMARPARA → NAIORPUL → SHIBGONJ → TILAGOR
The
direction field helps students quickly identify if a bus is heading the right way, especially at major intersections served by multiple routes.Viewing Full Route Schedule
Get the complete schedule for a specific bus route:Response Example
Response Example
Schedule Format
All schedules use 24-hour time format (HH:MM):08:25= 8:25 AM13:10= 1:10 PM17:45= 5:45 PM
Calculating Arrival Times
Thedeparture_time refers to when the bus leaves its first stop. To estimate arrival at subsequent stops:
This is an estimate. Actual arrival times may vary based on traffic conditions. The system uses 5 minutes as the average time between consecutive stops.
Getting Route Details
For detailed information about a route including all stops and their metadata:Response Example
Response Example
Advanced Use Cases
Building a Real-Time Display
Create a live departure board for a bus stop:Checking If a Bus Has Passed
Finding Common Routes
Find which routes serve both your origin and destination:Schedule Data Structure
The schedule system uses a graph-based data model stored inroutes.json:
- Unique trip ID (format:
{route_id}_{departure_time}) - Direction indicator
- Ordered list of stops
- Departure time from the first stop
Related Endpoints
- Planning Routes - Find the best route using these schedules
- Saving Favorites - Save your regular bus routes
- Authentication - Secure access to schedule data