Skip to main content

Simple library that allows you to interface Python with the API of Argo Scuola Next.

Project description

Argo Famiglia API

A library created to interface Python with Argo ScuolaNext. You can use this library to automate some actions like:

  • Check for new announcements;
  • Check homework for the next and past days;
  • And more...

How the idea was born

The idea was born because the official app doesn't notify you if an announcements arrives, or if you receive a new vote, and also because the app is REALLY slow. I then implemented this API in a Discord bot that notifies me and my class about new announcements from the school.

I then discovered that there are libraries already developed by others that do the exact same thing. hearot has developed a much better library than mine, it's worth checking out. Thanks to him, I improved some things about my library.

How to use

You can install this library with: (On Windows) python -m pip install -U git+https://github.com/salvatore-abello/ArgoFamigliaAPI.git

(On Linux) python3 -m pip install -U git+https://github.com/salvatore-abello/ArgoFamigliaAPI.git

Below is an example of how to print announcements.

from argofamiglia import ArgoFamiglia

session = ArgoFamiglia("SCHOOL_CODE", "myusername", "mypassword")
print(session.argoRequest("bachecanuova"))

DISCLAIMER

Use this library at your own risk, as it violates the terms of the services

The authentication token and the restful services invoked through it, can only be used by the "DidUP - Famiglia" application of Argo Software SRL for the provision of its services or by saas suppliers and related applications specifically pre-authorized, in compliance with current legislation in manner of protection of personal data and the measures required by the AgID for the SaaS applications of the PA.

Il token di autenticazione e i servizi restful invocati mediante esso, possono essere utilizzati solo dall'applicazione "DidUP - Famiglia" della Argo Software SRL per l’erogazione dei propri servizi o da fornitori saas e relative applicazioni appositamente preautorizzate, in conformità alla vigente normativa in maniera di protezione dei dati personali ed alle misure richieste dall'AgID per gli applicativi SaaS delle PA.

Credits

Thanks to veetaw, as I took inspiration (and even help) from his unofficial client.

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

argofamiglia-0.1.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

argofamiglia-0.1.0-py3-none-any.whl (5.2 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