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 details)

Uploaded Source

Built Distribution

SonaWrap-0.0.5-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file SonaWrap-0.0.5.tar.gz.

File metadata

  • Download URL: SonaWrap-0.0.5.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for SonaWrap-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b27f1d1aa57a072eb402c9b00801601d405d95711d346807f18f11c08bfef123
MD5 848af8e6755c0b997bb5faf9e5718a4c
BLAKE2b-256 ef8030394b60316e0327415950b24f0888a040dbf01929c843900629dd6d3e47

See more details on using hashes here.

File details

Details for the file SonaWrap-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: SonaWrap-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for SonaWrap-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ccd46ee6acfcb513620e53ea91027c6845189fe6d245938c3ec75d052959c53c
MD5 de57222a75ee9c6f1893822fc60d6f4e
BLAKE2b-256 8a7b9764afc57a13e58ebf7e8f7459a26158ee12a8946bb657e744b9f888ec27

See more details on using hashes here.

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