A python package that scrapes results.vtu.ac.in to retrieve results in a developer friendly format.
-
Clone the repo
-
cd python-vtu-api/
-
Install python dependencies:
pip install -r requirements.txt
- Use the get_results function to retrieve the results for a given usn.
from vtu import results
results.get_results(usn=xxx)
Output format:
{
name: "..",
usn: "...",
total: "...",
result: "...",
marksheet: [
{
subject: "..",
internal: "..",
external: "..",
semester: "..",
total: "..",
result: "..:,
},
{
subject: "..",
internal: "..",
semester: "..",
external: "..",
total: "..",
result: "..:,
},
..
]
}
-
Add support for revaluation results and backlogs.
-
Refactor code for reusability, maybe a function that returns the result as JSON.
MIT. Do whatever you want with it.