Skip to content

The API service of JNTUHRESULTS-WEB where all the semester results of a student and the results of all the classmates are fetched

License

Notifications You must be signed in to change notification settings

ThilakReddyy/JNTUHRESULTS-SERVICE

Repository files navigation

JNTUH RESULTS - SERVICE

Website Codacy Badge License GitHub code size in bytes

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.

HOW IT WORKS

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.

API'S

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.

Running Locally

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.

Need Help or Found a bug?

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!

Acknowledgements

This project relies on the following technologies:

  • django a high-level Python web framework that encourages rapid development and clean, pragmatic design.
  • python a powerful and versatile programming language that is widely used in many fields.

About

The API service of JNTUHRESULTS-WEB where all the semester results of a student and the results of all the classmates are fetched

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published