You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Voici mon code de test qui fonctionne avec la version 2.13.0 :
import pronotepy
from pronotepy.ent import occitanie_toulouse_edu
client = pronotepy.ParentClient('https://0312744p.index-education.net/pronote/parent.html',
username='xxxxxxx',
password='xxxxxxx',
ent=occitanie_toulouse_edu)
if client.logged_in: # check if client successfully logged in
# get the all the periods (may return multiple types like trimesters and semesters but it doesn't really matter
# the api will get it anyway)
periods = client.periods
for period in periods:
for grade in period.grades: # iterate over all the grades
print(f'{grade.grade}/{grade.out_of}') # print out the grade in this style: 20/20
Voici mon code de test qui fonctionne avec la version 2.13.0 :
Apres upgrade en 2.13.1 (commande pip install pronotepy==2.13.1) j'ai l'erreur suivante:
Si je revert en 2.13.0 ca se remet à fonctionner
The text was updated successfully, but these errors were encountered: