Skip to content

Releases: LiterateInk/Pawnote

js v0.7.0

18 Jan 14:14
Compare
Choose a tag to compare

New

  • Implement instance information getter (2ea9cf8)

API : getPronoteInstanceInformation(fetcher, { pronoteURL })

Allows to get information about an instance before logging in.

js v0.6.0

18 Jan 09:55
Compare
Choose a tag to compare

New

  • Implemented QRCode + Pin authentication (2780f93)

js v0.5.0

17 Jan 16:50
Compare
Choose a tag to compare

New

  • Add evaluations support (010e557)
  • Add global averages (for class and student) inside grades overview (d3a788d)

js v0.4.1

17 Jan 07:01
Compare
Choose a tag to compare

Bugfix

Custom fetcher wasn't used inside page downloader which resulted in CORS error in a Tauri app, for example.

js v0.4.0

16 Jan 22:34
Compare
Choose a tag to compare
  • Implement custom fetcher for every API call to Pronote (a36a500)

Breaking

findPronoteInstances({ latitude, longitude }) now becomes findPronoteInstances(fetcher, { latitude, longitude })
where fetcher is type PawnoteFetcher.

If you want to use fetch (so keep default fetcher), you can do this :

import { defaultPawnoteFetcher } from "pawnote";
// and use it directly...
findPronoteInstances(defaultPawnoteFetcher, { latitude, longitude });

New

fetcher property in authenticate functions (so authenticatePronoteCredentials and authenticateToken).
If the fetcher is not given, it'll use the default fetcher which is defaultPawnoteFetcher.

js v0.3.0

14 Jan 22:38
Compare
Choose a tag to compare
  • Implemented averages, next to grades (ab3d994)
    • Adds a new StudentAverage parser
  • Renamed getGrades to getGradesOverview for Period class.
  • Renamed getGradesForPeriod to getGradesOverviewForPeriod for Pronote class.

js v0.2.0

11 Jan 22:52
Compare
Choose a tag to compare
  • Grades implemented (b0e88bf)
  • Translate to English possible errors on authentication

js v0.1.0

11 Jan 14:28
Compare
Choose a tag to compare

Initial release including partial support for Pronote's student accounts.

Functions exported

  • findPronoteInstances
  • authenticatePronoteCredentials
  • authenticateToken

Pronote class methods

  • getAESEncryptionKeys
  • getLessonsForInterval
  • getTimetableForWeek
  • getHomeworkForInterval
  • getHomeworkForWeek
  • patchHomeworkStatus