Commit Graph

42 Commits

Author SHA1 Message Date
Samuel Elliott
8d5981c8f7
Add ZncProxyApi.getFriend 2025-07-27 21:57:38 +01:00
Samuel Elliott
4897aca3e6
Add updating isNew (CoralApi.deleteFriendIsNew) and isOnlineNotificationEnabled (CoralApi.updateFriendOnlineNotificationSettings) to API proxy 2025-07-27 21:53:33 +01:00
Samuel Elliott
e9137a41c6
Add received/sent friend requests to API proxy 2025-07-25 19:33:45 +01:00
Samuel Elliott
4452947187
Presence monitoring 2025-07-25 18:00:32 +01:00
Samuel Elliott
eb778f0c8e
Return response decryption data 2025-07-25 02:16:11 +01:00
Samuel Elliott
9cb122c365
Show platform if not using a specific Discord client 2025-07-24 00:08:56 +01:00
Samuel Elliott
e55b8dc965
Update types 2025-07-22 02:10:00 +01:00
Samuel Elliott
57ce3c21de
Coral 3.0.3 2025-07-22 01:33:03 +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
72c2927de8
Save Nintendo Account tokens 2023-06-03 22:08: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
f6aa9a17ab
Add na_id and coral_user_id to f generation requests 2023-05-25 13:42:48 +01:00
Samuel Elliott
20bab43981
Handle connecting directly to the event stream URL 2022-11-16 12:13:48 +00:00
Samuel Elliott
5cb66f4249
Use cached web service token to renew SplatNet 3 tokens 2022-10-11 12:05:50 +01:00
Samuel Elliott
72995b1a05
Use Splatoon 3 presence data from custom presence URLs 2022-09-24 23:02:24 +01: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
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
2d52f17022
Update config URL and use config data 2022-07-29 17:59:17 +01:00
Samuel Elliott
e9218b9004
Add friend code URL to API proxy 2022-07-28 14:04:29 +01:00
Samuel Elliott
0cc39aad13
Add friend code lookup to API proxy 2022-07-28 13:57:39 +01:00
Samuel Elliott
e12bb364a7
Prevent attempting to authenticate more than four times per hour
This only affects scripts - running this nxapi command in a terminal and the Electron app will ignore this limit.

https://github.com/samuelthomas2774/nxapi/issues/9
2022-07-27 15:48:19 +01:00
Samuel Elliott
d3e5a88625
Fix ZncProxyApi types 2022-07-27 14:52:00 +01:00
Samuel Elliott
dddb15aceb
Use package.json exports field 2022-07-23 17:42:41 +01:00
Samuel Elliott
21f5f095a0
Add helper function for setting user agent 2022-07-01 21:22:40 +01:00
Samuel Elliott
a6a69b1799
Rename most instances of znc to coral 2022-06-28 19:22:01 +01:00
Samuel Elliott
4bf9908362
Fetch timeout 2022-06-12 15:36:00 +01:00
Samuel Elliott
9f63fc8359
Handle simultaneous znc proxy requests properly 2022-05-30 13:16:06 +01:00
Samuel Elliott
b8f9c2c110
Automatically renew token when znc responds with a token expired error 2022-05-30 12:32:38 +01:00
Samuel Elliott
967a063220
Move utility functions
This avoids importing most dependencies when not used.
2022-05-21 23:52:36 +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
784e882dd4
Move getToken/getMoonToken and add cli-table types 2022-05-09 21:28:31 +01:00
Samuel Elliott
c3d138a93a
Support user and friend URLs for --presence-url in nxapi util discord-activity 2022-05-01 23:03:34 +01:00
Samuel Elliott
81cec767df
Export NookLink client, remove duplicate ErrorResponse class 2022-04-26 16:50:19 +01:00
Samuel Elliott
53a15bbb99
Use /v3/Account/GetToken to renew the app token 2022-04-08 22:13:43 +01:00
Samuel Elliott
a53eccd91e
Update znc types, add other endpoints and use /v3/Account/GetToken to renew the app token 2022-04-06 23:17:54 +01:00
Samuel Elliott
3c66bbd95d
Allow dependents to set the user agent for s2s, flapg and nxapi APIs 2022-04-05 20:42:38 +01:00
Samuel Elliott
c0c138ef49
Add HTTP server 2022-03-13 18:03:05 +00:00