zmoog / axios Goto Github PK
View Code? Open in Web Editor NEWPython library and CLI to access the school electronic register from Axios
Python library and CLI to access the school electronic register from Axios
With the current UX, we only have one command:
$ axis list-grades
...
But I think this is more flexible:
$ axios grades list
I forgot to clean up some helper I used to get the HTML pages for inspection.
We don't need to create these files, please remove all of them.
This is for testing the available options.
I can think of the following questions:
Right now credentials are hard coded, and it's (partially) fine because this project is just a hack.
To avoid leaking credentials (again). we should pass username and password properly.
The grades list
has minor inconsistencies I want to address to make a cleaner UX.
Here's the kind of interactions I want to have.
# User authentication
export AXIOS_USERNAME="1234"
export AXIOS_PASSWORD="whatever-it-works"
export AXIOS_CUSTOMER_ID="12345678909"
# Student — user account can have multiple students (when parents have two or more kids in the same school)
export AXIOS_STUDENT_ID="00004567"
$ axios grades list
Grades
Data Materia Tipo Voto Commento Docente
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
23/12/2022 ITALIANO Scritto 6.5 Tema in classe Rapalino Lara
22/12/2022 LINGUA STRANIERA INGLESE Orale 8,5 Interrogazione Barbero Daniela
We should avoid setting environment variable in the GitHub Actions workflow: it makes the text longer and the result is less flexible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.