GithubHelp home page GithubHelp logo

vtopscrapper's Introduction

Contents


Introduction

VtopScrapper is an API to VIT-AP's Student portal which enables you to build applications using the data provided by the portal

This is a 3rd party API (unofficial) so the service does not have direct access to the database instead it's consists of scrapping scripts in the backend (making it a little slower )


Usage

Package

If the user intends to use it in a python application then he/she may directly install the package from Pypi(like most python packages)

pip install vtopscrapper

Web API

If an app you intend to build restricts you from using python (like android app in which case you most likely are to use JAVA) in that case you can make http requests to the API

Note

Project is expected to make progress towards providing the services on maximum possible languages in near future eliminating the need of using it over web (Instead just downloading the package) but for now it is only available in python.


Features

First You will have to login with your credentials and then you will have access to following data

Fetch Attendance Data

You will get data regarding attendance course wise for both theory and labs as in total number of classes which happened till date, number of attended and the percentage of attendance


Fetch Digital Assignments Data

You will have get data regarding any digital Assignment's which has to be submitted but not has been for both theory and lab again course wise


Fetch internal marks

View You will get data regarding all the internal marks updated on the portal till date courseware for both theory and lab


Fetch Profile Information

โ€‹ Get Profile Information registered in the Portal


Fetch all the data in one go


How to use

Package

Fetch Attendance Data

from  VtopScraperCache import *

obj = VtopScraper(RegisterartionID, <password>)

Attendance_data = obj.Get_Attendance_Data()

Fetch Digital Assignments Data

from  VtopScraperCache import *

obj = VtopScraper(RegisterartionID, <password>)

Assignment_data     = obj.Get_Assignment_Data()

Fetch internal marks

from  VtopScraperCache import *

obj = VtopScraper(RegisterartionID, <password>)

Internal_data = obj.Get_Internal_Marks_Data()

Fetch Profile Information

from  VtopScraperCache import *

obj = VtopScraper(RegisterartionID, <password>)

Internal_data = obj.Get_Profile_Data()

Fetch All of them

from  VtopScraperCache import *

obj = VtopScraper(RegisterartionID, <password>)

all_data = obj.Fetch_All_Data()

Web API

Fetch Attendance Data

https://testherokuscrapper.herokuapp.com/FetchAttendanceData?username=<insert your user name>&password=<insert your password>

Fetch Digital Assignments Data

https://testherokuscrapper.herokuapp.com/FetchDigitialAssignmentData?username=<insert your user name>&password=<insert your password>

Fetch internal marks

https://testherokuscrapper.herokuapp.com/FetchInternalMarks?username=<insert your user name>&password=<insert your password>

Fetch Profile Information

https://testherokuscrapper.herokuapp.com/FetchProfileData?username=<insert your user name>&password=<insert your password>

Fetch All of them

https://testherokuscrapper.herokuapp.com/FetchAllData?username=<insert your user name>&password=<insert your password>

Response

Fetch Attendance Data

[
"CourseID":
"CourseName":
"AttendClass":
"TotalClass":
"PercentAttend":
]

Fetch Digital Assignments Data

{"Name_of_Assignment":
 {"Name_of_course":
  "status":
 }
}

Status here indicated whether you have submitted or not

Get internal marks

{"Name_of_Course":
	{
	  "Name_of_the_Assignment":{
				     "maxMarks":
				      "Weightage":
				      "status":
				      "ScoresMarks":
				      "WeightageMarksScores":
				    }
	}
}

Here status indicates whether you were marked present or absent on the day assignment was assigned

Fetch Profile Information

{
    "Name":
    "DOB":
    "Gender":
    "Email"
}

Fetch All of them

{
"AssignmentData":{},
"AttendanceData":{}, 
"InternalMakrsData":{}
}

vtopscrapper's People

Contributors

sai-krishna-msk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.