Skip to content

trulyPranav/fetcherAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FetcherAPI

This api can handle incoming post request, take username and password form the user, and returns their profile data along with their attendance data.

Libraries Used

  • Flask
  • BeautifulSoup4
  • Requests
  • CORS
  • Gunicorn for WSGI

Running

Navigate to the main folder. Activate virtualenvs if any. And then type this into the cmd

flask --app:app --debug run

or simple type this

python app.py

Head over to your local host, nothings going to pop up. Head over to PostMan and then check the api by providing a post request.

Provide your localhost as the url. Send out a POST request.

Should look something like this:

{ "username" : "230xxx", "password" : "yourPassword" }

This should work or await an appropriate error message.

About

API suitable for POST requests; Scraped directly from Etlab

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages