Skip to main content

Professional client for interacting with the School App API

Project description

SchoolApp API

A Python library designed to make interacting with the SchoolApp platform a lot less painful. Instead of wrestling with session cookies and manual HTML scraping, this library gives you a clean, object-oriented way to access your grades, attendance, and profile data.

Why This Exists

Browsing the SchoolApp web interface manually for updates is slow. If you want to build a custom dashboard, a grade tracker, or a notification bot, you need a reliable way to get that data programmatically. This library takes care of:

  • Authentication: Solid session management with automatic CSRF token handling.
  • Data Cleanup: Converts messy HTML tables into structured Python objects.
  • Smart Logic: Handles nested modules, element-level statistics, and transcript parsing out of the box.

Quick Start

Installation

You can install the library locally using:

pip install schoolapp-api

Basic Usage

Getting your data is as simple as this:

from schoolapp_api import SchoolAppClient

# Initialize and log in
client = SchoolAppClient()
if client.login("your.email@example.com", "password"):
    
    # Get your basic info
    profile = client.get_profile()
    print(f"Hello, {profile['basic_info']['full_name']}!")
    
    # Fetch your current semester grades
    grades = client.get_current_elem_note()
    for item in grades:
        print(f"{item.CodeElem}: {item.Moy}")

Project Layout

The library is organized into several specific managers, so you always know where to find what you need:

  • grades: Handle module marks, element notes, and academic year results.
  • attendance: Track your absences and see any sanctions.
  • profile: Access your personal data and administrative files.
  • courses: Browse the study plan and available modules.

For the full details on every class and function, head over to the /docs folder.

Contributions

Found a bug or have an idea for a new feature? Feel free to open an issue or submit a pull request. Any help making this library better for everyone is appreciated!

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

schoolapp_api-2.1.2.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schoolapp_api-2.1.2-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file schoolapp_api-2.1.2.tar.gz.

File metadata

  • Download URL: schoolapp_api-2.1.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for schoolapp_api-2.1.2.tar.gz
Algorithm Hash digest
SHA256 eb7c7c785abf3a86336f8699113f9443204538ba24e84d405f37eaf7eab6aa24
MD5 f4e9466672abe16ac79c2d0f69087d2a
BLAKE2b-256 e8bdfec39c3ecfc8cdb401ab4ac24feff0fb86b82c31cdb6b02ee02cf833226c

See more details on using hashes here.

File details

Details for the file schoolapp_api-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: schoolapp_api-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for schoolapp_api-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82406d7bf599147640bdb91ba795ce9f06c4f6c5944c7d6dd8c82e98e0aeb5a3
MD5 49b25041fc2db05a089cc1255e9c8b9c
BLAKE2b-256 8aa0fb25a90d3a55b605f2c2d0fc4e442bd5e3f5aca138c7b0621c36864a6cae

See more details on using hashes here.

Supported by

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