| Crates.io | EduBoardAPI |
| lib.rs | EduBoardAPI |
| version | 0.1.0 |
| created_at | 2025-09-28 10:34:34.194373+00 |
| updated_at | 2025-09-28 10:34:34.194373+00 |
| description | API Wrapper For Bangladesh Education Board Website |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1858223 |
| size | 81,211 |
A fast, reliable REST API for fetching Bangladesh Education Board results. Built with Rust and Axum for high performance and reliability.
GET /fetch
| Parameter | Type | Required | Description |
|---|---|---|---|
| exam | string | Yes | Examination type (e.g., ssc) |
| year | string | Yes | Year (1996-2025) |
| board | string | Yes | Board name |
| roll | string | Yes | Roll number (max 6 digits) |
| reg | string | Yes | Registration number |
curl "http://localhost:3000/fetch?exam=ssc&year=2024&board=dhaka&roll=123456®=1234567890"
{
"roll": "123456",
"reg": "1234567890",
"name": "Student Name",
"father_name": "Father's Name",
"mother_name": "Mother's Name",
"board": "Dhaka",
"group": "Science",
"exam_type": "Regular",
"dob": "01-01-2008",
"institute": "School Name",
"result": "Passed",
"gpa": "5.00",
"grades": [
{
"subject": "Bangla",
"grade": "A+"
},
{
"subject": "English",
"grade": "A"
}
]
}
# Clone the repository
git clone https://github.com/Junaid433/eduboardapi.git
cd eduboardapi
# Build the project
cargo build --release
# Run the server
cargo run --release
The API server will start on http://localhost:3000
The server runs on port 3000 by default. You can modify this in src/main.rs:
let addr: SocketAddr = "0.0.0.0:3000".parse()?;
# Run in development mode with hot reloading
cargo watch -x run
# Run tests
cargo test
# Check code quality
cargo clippy
# Format code
cargo fmt
The API returns appropriate HTTP status codes:
200 OK - Successful request400 Bad Request - Invalid parameters or captcha error502 Bad Gateway - Network error or parsing errorContributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
This API is for educational purposes only. The data belongs to the Bangladesh Education Board. Please use responsibly and in accordance with the board's terms of service.
If you find this project helpful, consider:
Junaid Rahman - @Junaid Rahman
Project Link: https://github.com/Junaid433/eduboardapi