trulyPranav / fetcherAPI

API suitable for POST requests; Scraped directly from Etlab

Home Page:https://fetcherapi.onrender.com

Repository from Github https://github.comtrulyPranav/fetcherAPIRepository from Github https://github.comtrulyPranav/fetcherAPI

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

https://fetcherapi.onrender.com

License:MIT License


Languages

Language:Python 100.0%