Skip to main content

A minimal python wrapper for the Sona systems mobile api

Project description

SonaWrap

Reverse engineered python api wrapper for the sona academic studies systems mobile api

How to use

Install with pip install SonaWrap

from SonaWrap.Wrapper import SonaWrap
from config import credentials

# 1. AUTH
# Either give in username and password or existing token previously printed out to reuse authentication
sona = SonaWrap(username=credentials["username"], password=credentials["password"])
# sona = SonaWrap(token="b93ef8aed029418f871dc09c83283b67")

# 2. Usable routes
sona.test_connection()
sona.my_schedule()
sona.main_menu_info()
sona.study_page_info()

# one of the IDs from data of sona.study_page_info()
sona.study_info(1588)

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

SonaWrap-0.0.5.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

SonaWrap-0.0.5-py3-none-any.whl (6.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