Skip to main content

A reverse engineered API PlusPortals

Project description

Test Status Package Version


A reverse-engineered API providing access to information displayed on the PlusPortals web application.


Python 3.6+


pip3 install plusportals


import plusportals as pp
client = pp.Client(True, School, Email, ID, Password)

The code above imports the plusportals module, instantiates a client with your login credentials, and prints your grades of the specified markingPeriod.

The first parameter passed to the Client constructor is whether you would like your credentials to be cached so that they do not have to be provided again after the first time, in which case you may simply instantiate a client with client = pp.Client(). The succeeding parameters are your PlusPortals login credentials: school name, email, ID, and password. Your ID is the multi-digit number found in the URL when you login to Plusportals.

Finally, you can print the grades for each of your classes, as is done in the last line, where markingPeriod is the markingPeriod for which you would like to view your grades, e.g., 1 for Semester 1 and 2 for Semester 2.

To be notified when your grades change, this package comes with the Tracker class. Using the code below, you will be notified of a change in your grades (provided that your computer is on) with a little print statement and three beeps.

import plusportals as pp
tracker = pp.Tracker(markingPeriod, School, Email, ID, Password)

The constructor for the Tracker closely resembles that of Client. Note that the markingPeriod paramter is a required parameter that is necessary for the tracker to work as desired. The track() method simply sends a requests to fetch the grades every 30 seconds. If the response does not match the previous, it prints a message that is accompanied by three consecutive system alert sounds.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plusportals-0.1.8.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

plusportals-0.1.8-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page