Skip to content

v.2.0.0 - Meta!

Choose a tag to compare

@jamesatjaminit jamesatjaminit released this 07 Apr 13:04
· 101 commits to main since this release

Changes

Meta

All methods now return the meta object.
This object contains additional data which classcharts returns, it usually contains things like number of outstanding homeworks, or other simple metadata. Some methods, namely getAttendance(), getDetentions() and getAnnouncements(), don't return this new meta value yet, simply because I do not have access to these features on ClassCharts, and cannot test it. If you have access to them, please submit a PR.

ClasschartsStudentClient

Both the student and parent client have been renamed to StudentClient and ParentClient respectively, this was simply an oversight when the library was first created, since the word ClassCharts is not needed.

Help Still Wanted

Parent Client

The parent client is still significantly lagging behind the student client, with the new meta changes not being included in this release. This is because I do not have access to a parent client to test features with, which makes it very hard to develop for. If you have access to to a parent client, please submit a PR with fixes/enhancements.

Tests

Because of this new release, I have had to adapt some of the tests. They are barely tests anymore and do little in actual "testing". I will improve them at some point, but PRs would be welcome.

New Routes

Also, please submit PRs for new API routes which you have access to. I only have access to a very small subset of the API and would be very grateful for any PRs implementing new routes.

Commits

v1.6.0...v2.0.0