Skip to main content

Powerschool Learning API

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

Installation

pip install powerschoollearning Works best.

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.

Release files for powerschoollearning 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for powerschoollearning 1.0.1
File Size Uploaded
powerschoollearning-1.0.1.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for powerschoollearning 1.0.1
File Interpreter ABI Platform
powerschoollearning-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / powerschoollearning-1.0.1.tar.gz

Download URL powerschoollearning-1.0.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
88bfea885ed93e349d89fdbe7f619a68e7096e5bffab91e2015cdea6ad172850
BLAKE2b-256 checksum
How to use checksums
a4a2dbafa6b39bfc758843f4fa004864f4615bf02259ea676cbde7c1c67e5e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

Release files / powerschoollearning-1.0.1-py3-none-any.whl

Download URL powerschoollearning-1.0.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d82ea97b5d0ef8cebab3c8da401694463a4ea2143054f0be480d59a3299f98b4
BLAKE2b-256 checksum
How to use checksums
26c845c868a794cbb51b38219f632281d2eb9fffb10fa8b4415c6fde59294d4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page