Skip to main content

Argo Famiglia API

An API wrapper 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 (not working for now) that notifies me and my class about new announcements from the school.

There are other libraries similar to this one, such as the library created by Hearot, but it doesn't work anymore. For now this is the only working library.

How to use

You can install this library with: python3 -m pip install -U git+https://github.com/salvatore-abello/argofamiglia.git

You can also install this from the Python Package Index with: python3 -m pip install argofamiglia

Here's an example of how to obtain a dict containing the homework. The keys of the dict will be equal to the due dates of the homework.

from argofamiglia import ArgoFamiglia

session = ArgoFamiglia("SCHOOL_CODE", "myusername", "mypassword")
print(session.getCompitiByDate())
# prints:
#  {'2022-09-22': {'compiti': ['compiti materia 1',
#                            'compiti materia 2',
#                            'compiti materia 3'],
#                'materie': ['MATERIA 1',
#                            'MATERIA 2',
#                            'MATERIA 3']
# }, ...

Disclaimer

This library is not finished, some methods aren't working in the file called auth.py

Release files for argofamiglia 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argofamiglia 0.1.2
File Size Uploaded
argofamiglia-0.1.2.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for argofamiglia 0.1.2
File Interpreter ABI Platform
argofamiglia-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / argofamiglia-0.1.2.tar.gz

Download URL argofamiglia-0.1.2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
065af3a04c9dd48e9e9eb965d18675237e4ff8c00e05e14385a6d342427ea601
BLAKE2b-256 checksum
How to use checksums
227df5be11122e005ee12d72c06b500f5cead1941aa28fa05cf6fadf502f628f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / argofamiglia-0.1.2-py3-none-any.whl

Download URL argofamiglia-0.1.2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79f0fe0c352cd023bab116c57ef076910789f89e4d3a5529e77ccc4fc4208f9c
BLAKE2b-256 checksum
How to use checksums
7315bf49d38fb602579e4a18ad0296f21b71fa7cf247c0e6a0f1a267340dbc37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page