1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00
Commit graph

82 commits

Author SHA1 Message Date
James Cook
515ac76f22 fix: types & format 2024-05-28 13:39:04 +01:00
Aria
731672f23a
fix: improve type definitions (#43) 2024-05-28 13:33:56 +01:00
James Cook
a64fd6a718 chore: syntax & biome.js changes 2024-01-10 10:57:33 +00:00
James Cook
ac5569f53e
feat: Use biomejs for formatting & linting (#42) 2023-11-29 00:03:56 +00:00
Isaac Hatton
118c384131
feat: add changePassword parent method (#40) 2023-10-08 21:02:01 +01:00
James Cook
892bcf161c fix: readd user-agent 2023-09-26 22:50:56 +01:00
James Cook
40c370c151
feat: add getcode endpoint (#26) 2023-09-24 21:17:15 +01:00
Veloi
c8f7ab4fb0
fix: update incorrect student typings (#38) 2023-09-24 21:09:20 +01:00
James Cook
b2af13c315 fix: remove import map
Doesn't work with importing in deno
2023-09-24 13:36:35 +01:00
James Cook
c38a83708d fix: update homework attachments type 2023-09-18 20:54:52 +01:00
James Cook
821a5c26ea chore: fmt 2023-09-18 20:52:01 +01:00
Veloi
41f23e01d0
feat: reward shop methods, get pupil fields and add meta on detentions (#35) 2023-09-18 20:46:50 +01:00
Isaac Hatton
8a11040524
feat: parent client tests & consistant error messages (#37) 2023-09-17 17:19:48 +01:00
James Cook
a022c8a8ad chore: move deno dev deps to deps file && use import map 2023-09-16 20:14:18 +01:00
James Cook
c5e7b3f24e fix: improve makeAuthedRequest types 2023-09-16 20:05:39 +01:00
James Cook
dea1a00f13
fix: Parent client Login (#36) 2023-09-16 19:52:03 +01:00
Veloi
d39eda7bf3
fix: attendance typing && expose full attendance response object (#34) 2023-09-15 19:02:16 +01:00
James Cook
7529b572a0 fix: remove description sanitising logic
Since the purpose of this library is to stay as true to the actual API as possible
2023-09-14 19:40:08 +01:00
James Cook
45ef7c7ce9 feat: announcements meta response 2023-09-14 19:38:21 +01:00
James Cook
ffe3e24bbd fix: use .has instead of .get 2023-09-10 13:02:05 +01:00
James Cook
ad3b5c380b fix: fix wording of docs 2023-09-08 19:27:01 +01:00
James Cook
b34d972167 fix: remove @internal
Since it messes with emitted types
2023-09-05 15:16:18 +01:00
James Cook
70c9d623fc chore: deno badge & formatting 2023-08-30 13:43:25 +01:00
James Cook
f86ded2ae3
feat: denoify (#33) 2023-08-30 12:28:49 +01:00
James Cook
6552c282d5 feat: use native fetch 2023-05-30 18:37:24 +01:00
James Cook
00e3a13821 chore: typo fixes + config files 2023-05-14 00:59:21 +01:00
James Cook
a3e078b0b7 fix: handle parsing json errors 2023-05-09 19:24:03 +01:00
James Cook
350878c945 fix: response typing typo 2023-05-04 11:55:55 +01:00
James
94524229fc
fix: require getLessons options argument (#24) 2023-05-02 19:57:37 +01:00
James Cook
d752eed8bd fix: improve readability of typing 2023-04-29 23:34:36 +01:00
James Cook
e91fb1688d feat: restructure src/ 2023-04-16 21:06:10 +01:00
James Cook
3aa119a063 feat: better documentation 2023-04-16 20:47:40 +01:00
James Cook
5826faff19 fix: set ky credentials to undefined
Ensures cf workers compat
2023-04-16 15:31:18 +01:00
James Cook
629c998293 feat: axios -> ky-universal
Better compat since ky uses fetch :)
E.g. cloudflare workers
2023-04-16 15:13:42 +01:00
James Cook
24208c310e feat: massive overhaul 2023-04-07 13:47:08 +01:00
James Cook
797c43ed56 fix: revalidate auth token 2023-04-07 12:43:46 +01:00
James Cook
ecbbc4777b
fix: client getting logged out (#18) 2022-09-23 19:40:32 +01:00
James Cook
64909d82b4
feat: parse cookies properly (#15) 2022-08-03 16:53:46 +01:00
James Cook
eead2535d9 fix: use from instead of fromDate for consistancy 2022-07-21 16:02:41 +01:00
James Cook
e33210e452 feat: custom user agent 2022-07-21 15:46:08 +01:00
James Cook
6bf915ad7b fix: eslint config 2022-07-21 15:35:22 +01:00
James Cook
39aa5cb7ea feat: attendance filtering
Co-authored-by: Harrison <harrisondcrafter@gmail.com>
2022-06-24 13:15:13 +01:00
James Cook
04b72babcf feat: attendance 2022-05-25 18:18:31 +01:00
James Cook
315a2d1129 docs: update docs 2022-05-24 22:52:57 +01:00
James Cook
0b4380475f fix: parent client 2022-05-24 22:40:20 +01:00
James Cook
80c3f6565e fix: login 2022-05-24 22:02:27 +01:00
James Cook
75bc77fc0e feat: custom axios config support 2022-05-07 12:58:42 +01:00
James Cook
eea157566c feat: getFullActivity
Co-Authored-By: Tim <65774333+timthedev07@users.noreply.github.com>
2022-04-02 12:11:04 +01:00
James Cook
6392ee6d1a
feat: web support (#11) 2022-03-24 18:56:33 +00:00
James Cook
92ed2f1608 style: rename client files 2022-03-12 12:08:41 +00:00