Skip to content

ManageBac Scraper that uses session cookies to get your timetable in json format

Notifications You must be signed in to change notification settings

rhijjawi/ManageBac-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

ManageBac Scraper

ManageBac Scraper that uses session cookies valid for 1 year.

View Demo . Report Bug . Request Feature

License Contributors

About The Project

Screen Shot

ManageBac has been lacking in terms of APIs accessible by students. I set off to make a web-scraper for students that allows them to turn their ManageBac portal into json parse-able content.

Built With

Python 3.8 BeautifulSoup4 Requests

Node.js cheerio jssoup

Getting Started

pip install managebac_api npm i managebac_api

Prerequisites

It's used as a function, pretty easy stuff

Installation

pip install managebac_api

import managebac_api
from managebac_api import managebac_api


managebac_api.mbapi(domain, cookie)

Usage

managebac_api.mbapi("IBS","o1h98dh93hr2r32d...")

1st part of the function is the subdomain that you use for managebac. In this case IBS.managebac.com would be what the student normally visits 2nd part is the session cook that you can get can get by look in the dev console (F12)

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Authors

  • Ramzi Hijjawi - Python Programmer - Ramzi Hijjawi - Designed from the ground up
  • Arnab Chakraborty - Javascript/Typescript Programmer - Arnab Chakraborty - Designed from the ground up

Acknowledgements

About

ManageBac Scraper that uses session cookies to get your timetable in json format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published