JNTUH RESULTS - SERVICE
This repository serves as the backbone for the JNTUH RESULTS project. It fetches the semester results of a student and their classmates from the JNTUH website.
The JNTUH website does not provide an API and does not require authentication for requests. Instead, it sends back the response for each request made. This service makes requests to the JNTUH website and parses the HTML response using Beautiful Soup to obtain the results.
There are two API endpoints available for fetching results:
https://jntuhresults.up.railway.app/api/academicresult?htno={Roll_NO}
- Fetches results for a single student using their roll number.https://jntuhresults.up.railway.app/api/classresult?htnos={multiple_htnos_separate_by_commas}&semester={code}
- Fetches results for multiple students within a given range of roll numbers and code.
To run the code locally in development mode, follow these steps:
- Clone the repository:
git clone https://github.com/ThilakReddyy/JNTUHRESULTS-SERVICE.git
- Navigate to the repository:
cd JNTUHRESULTS-SERVICE
- Install the requirements:
pip install -r requirements.txt
- Rename the .env.example file to .env file and add the django secret key and redis url
- Run the server:
python manage.py runserver
- Open http://localhost:8000 in your browser to view the results.
If you've got questions about setup, deploying, special feature implementation, or just want to chat with the developer, please feel free to contact me on mail
Found a bug ? Go ahead and submit an issue. And, of course, feel free to submit pull requests with bug fixes or changes to the dev
branch.
Also feel free to message me if you have any ideas for small website tools that you can't yet find online. Thanks!
This project relies on the following technologies: