Skip to main content

Wrapper in python per usufruire delle API di RE studenti di Axios Italia

Project description

AxiosStAPI

Wrapper in python per usufruire delle API di RE studenti di Axios Italia

Getting started

Logging in

from AxiosStAPI.AxiosStAPI import AxiosStAPI

api = AxiosStAPI()

api.login(SCUOLA, USER, PASSWORD)

Retrieving informations:

Senza Login

# Ricerca delle scuole con una stringa che può essere nome, cap, via, ecc

api.retrieveAPPCustomerInformationByString(services.RetrieveAPPCustomerInformationByString.SSEARCH, query="20090")

#[{'fsIntitolazione': 'MICROTECH', 'fsNome': 'SRL', 'fsCF': '06830500960', 'fsCap': '20090', 'fsRegione': 'LOMBARDIA', 'fsCitta': 'BUCCINASCO', 'fsProvincia': 'MI'}, ...]

Con Login

Per la lista di tutti i servizi disponibili consulta services.py e controlla l'implementazione in AxiosStAPI.py

# Ottieni avvenimenti di una giornata

api.retrieveDataInformation(services.RetrieveDataInformation.TIMELINE, giorno="28/02/2024")

#[{'idAlunno': '####', 'today': [{'id': '####', 'type': 'L', 'data': '28/02/2024', 'subType': '', 'ora': '', 'oralez': '2-3', 'desc': {'title': '', 'subtitle': 'SCIENZE NATURALI', 'notes': 'interrogazioni'}}, ...], 'totali': {'assenze_da_giust': '0', 'assenze_totali': '18', 'ritardi_da_giust': '0', 'ritardi_totali': '6', 'uscite_da_giust': '0', 'uscite_totali': '9'}, 'media_a': '8,51'}]

Docs

Work in progress.

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

AxiosStAPI-0.0.1.tar.gz (19.6 kB view details)

Uploaded Source

File details

Details for the file AxiosStAPI-0.0.1.tar.gz.

File metadata

  • Download URL: AxiosStAPI-0.0.1.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for AxiosStAPI-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2fc33cb0de314e501253792e7e5e19dc4b5d5df767d17ac545054d44bc64b1e1
MD5 c2d26c7706dda6277e7438c022d87523
BLAKE2b-256 09131217b925108e0d46d743c27e843de6f9bd0fef7ea863185c673a026e5c0d

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