Commit Graph

25 Commits

Author SHA1 Message Date
Samuel Elliott
7bdf9f578a
Remove uuid 2023-07-13 01:10:37 +01:00
Samuel Elliott
d7a64b9807
Switch to undici 2023-07-12 23:15:37 +01:00
Samuel Elliott
3c6025790e
API error classes 2023-07-04 22:01:22 +01:00
Samuel Elliott
d1785ee1fc
Add CoralApiInterface 2023-07-04 21:01:25 +01:00
Samuel Elliott
4d0b708469
Write debug logs 2023-06-01 18:45:31 +01:00
Samuel Elliott
512a9a2b60
Prevent using expired tokens 2023-05-25 14:07:32 +01:00
Samuel Elliott
6d1391929f
Update dependencies 2022-11-27 15:15:57 +00:00
Samuel Elliott
c9c91a874d
Fix web service ID type in token request, handle errors requesting a new token 2022-09-10 16:58:02 +01:00
Samuel Elliott
5b93c63c23
Use coral result object directly 2022-09-07 17:33:40 +01:00
Samuel Elliott
9112a5a02b
Return response objects and return coral result object directly 2022-09-07 17:13:53 +01:00
Samuel Elliott
77f07eb1b3
Always check response status codes 2022-08-13 01:31:16 +01:00
Samuel Elliott
fc2dec15c0
Add SplatNet 2 constructor helper functions and always send player ID 2022-07-29 18:46:22 +01:00
Samuel Elliott
5e25570d2d
Update SplatNet 2 types 2022-06-28 19:24:24 +01:00
Samuel Elliott
a6a69b1799
Rename most instances of znc to coral 2022-06-28 19:22:01 +01:00
Samuel Elliott
1ddbe10f25
Add a command and functions to get SplatNet 2 X Rank seasons 2022-06-26 18:00:47 +01:00
Samuel Elliott
39bfc8ab39
Add a command to get a SplatNet 2 iksm_session cookie 2022-06-26 16:14:02 +01:00
Samuel Elliott
abb440343a
Add x-appcolorscheme header for web service requests 2022-06-12 22:08:14 +01:00
Samuel Elliott
4bf9908362
Fetch timeout 2022-06-12 15:36:00 +01:00
Samuel Elliott
5f6004bd57
Move authentication functions
app no longer imports from cli
2022-05-21 23:47:41 +01:00
Samuel Elliott
b531fcced4
Move monitoring classes, use nxapi debug namespace for non-app/cli modules 2022-05-14 19:06:43 +01:00
Samuel Elliott
81cec767df
Export NookLink client, remove duplicate ErrorResponse class 2022-04-26 16:50:19 +01:00
Samuel Elliott
a737d51839
Use the previous updated timestamp from SplatNet 2 to check for updates
This prevents redownloading (or missing data) if the local system time is slightly different to SplatNet 2's time.
2022-03-25 19:05:00 +00:00
Samuel Elliott
28b3468835
Save SplatNet 2 language, region and user ID with iksm_session 2022-03-25 18:23:44 +00:00
Samuel Elliott
4736fe55d4
Only request a new iksm_session cookie if the previous cookie hasn't been used recently 2022-03-22 19:55:52 +00:00
Samuel Elliott
86fb372722
Add commands to download SplatNet 2 data 2022-03-21 20:38:52 +00:00