Skip to main content

Python library for powerschool learning.

Project description

Powerschool Learning API

This is a simple asynchronous api for interfacing with powerschool learning.

Here is a simple example:

import powerschoollearning
import asyncio
import logging
logging.basicConfig(level=logging.INFO)
client = powerschoollearning.ps("<my refresh token>", "lakesideblended.learning.powerschool.com")

async def main():
    await client.login()
    for school_class in client.classes:
        print(f'Found class {school_class.name} at {school_class.url}.')

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

This program will take a look at the user's classes and print every classes name and url.

Refresh Tokens

Since logging into powerschool is handled via oauth, we use refresh tokens to authenticate the user, to get your refresh token push look in the network -> cookies tab of the development tab of a browser while you load powersscool.

Not finished.

This very much is not finished, and does not support a lot of stuff. This is a work in process.

Project details


Download files

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

Files for powerschoollearning, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size powerschoollearning-1.0.0-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size powerschoollearning-1.0.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page