A simple wrapper around Index-Education's Pronote internal API.
[!NOTE]
This project is not affiliated with Index-Education or Pronote in any way.
Join LiterateInk's Discord server to talk about Pawnote, get help and be notified about the latest updates !
[!WARNING]
This package 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.
élève
(student)parent
A support for other accounts will be added in the future.
username
and password
(no ENT)username
and token
[!IMPORTANT]
ENT native support is 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 ENTs.
Credentials authentication works, but token authentication won't work. This is because demo servers doesn't save next-time tokens, even if it's able to generate them.
You can know if a server is a demo or not by getting the isDemo
property on a Pronote
instance.
It returns a boolean that is true
when the server is a demo.
longitude
and latitude
Pronote.readDefaultPeriodForGradesOverview()
and Pronote.readPeriodsForGradesOverview()
Pronote.readDefaultPeriodForEvaluations()
and Pronote.readPeriodsForEvaluations()
fetcher
to call the API with another API than fetch
Presence
requests to keep alive the connectionPronote.startPresenceRequests()
and Pronote.stopPresenceRequests()
Pronote.readDefaultPeriodForAttendance()
and Pronote.readPeriodsForAttendance()
PawnoteNetworkFail
Use your favorite package manager to install Pawnote from NPM.
# pnpm
pnpm add pawnote
# Yarn
yarn add pawnote
# npm
npm install pawnote
You can find the documentation, some guides and small examples at pawnote.js.org for more informations about the API and how to use it.
If you need complete examples, then we got a lot of those in the examples
folder, hoping you can find your joy in there.
If none of those are helpful, you can always open an issue to ask for help.
Without these very useful resources, I wouldn't be able to write this whole client by myself.
pronotepy
.pronote-api
's (forked) source code.pronotepy
's source code.