Pawnote
A purrfect API wrapper for PRONOTE.
Note that this guide is still experimental and being rewritten. The final version will be available soon.
Supported
Versions
- 2022
- 2023
- 2024 (latest)
This library wasn't tested for versions before 2022, so if anything is not working, please open an issue about it and mention that it's probably a breaking change between versions.
Also, the PRONOTE version for primary schools is not supported yet, not sure if it will be in the future.
Sessions
- Encrypted
- Compressed
Accounts
élève
(student)
A support for other accounts (such as parents) will be added in the future.
Authentication
username
andpassword
(no ENT/CAS)username
andtoken
- QR Code
Note about ENT/CAS native support
It's not and will never be supported by Pawnote, for the reason that implementing each of them with every specificities requires a lot of time and effort. It's a pain to implement and track; as a matter of fact, most of the issues on pronotepy - a similar project - are related to it. If you need to authenticate to an account protected by an ENT/CAS, you should go for the token or QR Code authentication.
Note about demonstration servers
Credentials (username and password without ENT/CAS) authentication works, but token and QR Code authentication won't work.
This is because demonstration servers doesn't save next-time tokens, even if it's able to generate them.
You can know if a server is a demonstration or not by reading the isDemo
property on a Pronote
instance in Pawnote.