A java library, which provides a simple way to download pdf's of mark lists and hall tickets from www.kannuruniversity.ac.in of students
API uses Apache Http Package for making requests and gettings responses, and Jsoup for finding the request url from the input url (web scraping)
Download the jar file kannur-university-1.0.jar and set class path in java. Alternatively add the library to your build path in your favorite IDE.
Quick video demo on using Kannur University Library https://www.youtube.com/watch?v=NRMvYG0rbNE
Requires register number and birthday to be set
HallTicket anjith = new HallTicket("B1ENCS5106", "28", "8", "1993");
RequestUri uri = new RequestUri("http://14.139.185.42/kannur/assistant/online/btech8regular2015/btech8thhal.php");
uri.parseRequestUri();
NetworkCall call = new NetworkCall();
if (call.requestHallTicket(anjith, uri) > 0) {
System.out.print("Success");
}
else {
System.out.print("Failure");
}
Requires register number and exam type to be set
- R - Regular
- S - Supply
- I - Improvement
MarkList anjith = new MarkList("B1ENCS5106", "R");
RequestUri uri = new RequestUri("http://14.139.185.42/kannur/assistant/btech7Result112014ren/btech7th.php");
uri.parseRequestUri();
NetworkCall call = new NetworkCall();
if (call.requestMarkList(anjith, uri) > 0) {
System.out.print("Success");
}
else {
System.out.print("Failure");
}
Kannur University API is released under MIT Licence. See file LICENCE.