Commit Graph

88 Commits

Author SHA1 Message Date
Samuel Elliott
4e6a29f74f
Use detailed presence information from SplatNet 3 2022-09-21 15:47:42 +01:00
Samuel Elliott
e5fe9b389e
Hide unnecessary scrollbars in SplatNet 3
https://github.com/samuelthomas2774/nxapi/issues/24
2022-09-20 20:51:13 +01:00
Samuel Elliott
3b9d07042f
Update SplatNet 3 types 2022-09-20 16:33:41 +01:00
Samuel Elliott
8012dba821
Initial Splatfest types and commands 2022-09-19 19:12:22 +01:00
Yi Huang
7d8cfa7e3b Add coop (salmon run) types and results for SplatNet 3 2022-09-13 07:48:33 +08:00
Samuel Elliott
56a991b03b
Update SplatNet 3 types, log GraphQL query ID for debugging 2022-09-12 16:55:30 +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
e3b967a412
Add a command to get friends data from SplatNet 3 2022-09-10 15:42:45 +01:00
Samuel Elliott
203a54be44
Add a command to download all battle results from SplatNet 3 2022-09-09 21:53:46 +01:00
Samuel Elliott
0821235a89
Add home, settings, history, schedules and battle history types 2022-09-09 13:28:18 +01:00
Samuel Elliott
4a95c231d3
Add user and schedule SplatNet 3 commands 2022-09-09 01:43:23 +01:00
Samuel Elliott
8979c6d28e
SplatNet 3 authentication 2022-09-09 01:10:55 +01:00
Samuel Elliott
1aa4aad85a
SplatNet 3 authentication 2022-09-08 19:44:15 +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
66c8efdb96
Accept numbers for the hash_method option when generating f parameters 2022-09-07 10:22:37 +01:00
Samuel Elliott
960624cae4
Update flapg API 2022-09-01 14:08:48 +01:00
Samuel Elliott
e5a955e666
Fix sending request_id when using nxapi's f-generation API 2022-08-24 19:21:27 +01:00
Samuel Elliott
a6b8dc33e8
Update imink API 2022-08-24 17:31:34 +01:00
Samuel Elliott
428f7131a1
Fix f parameter generation
This fixes `f` parameter generation with nxapi's custom server. This will also work with imink/flapg *if the system time exactly matches the imink/flapg Android device's time*. This commit also makes nxapi's API compatible with imink's API and adds some information about the Android device and NSO app to response headers.
2022-08-23 16:47:15 +01:00
Samuel Elliott
624d60dc1b
Always check response status codes 2022-08-22 11:36:37 +01:00
Samuel Elliott
67819b4af5
Fix some issues with X Rank season calculation and add season indexes 2022-08-21 20:28:22 +01:00
Samuel Elliott
7423da8d98
Update NookLink 2022-08-16 18:41:45 +01:00
Samuel Elliott
f628d371e1
Add NookLink constructor helper functions 2022-08-16 18:16:30 +01:00
Samuel Elliott
84f7d42d79
Add missing fetch timeouts to coral requests
Fixes the issue where these requests may never complete.
2022-08-16 17:52:56 +01:00
Samuel Elliott
77f07eb1b3
Always check response status codes 2022-08-13 01:31:16 +01:00
Samuel Elliott
5f0fd26ef6
Handle OAuth errors properly 2022-08-13 00:38:45 +01:00
Samuel Elliott
ca36935f78
Fix friend code user type 2022-08-13 00:15:01 +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
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
38c282bf6c
Update SplatNet 2 types 2022-07-27 14:31:54 +01:00
Samuel Elliott
85a9193328
Update coral
https://github.com/samuelthomas2774/nxapi/issues/14
2022-07-27 14:16:43 +01:00
Samuel Elliott
fe725f931a
Format response data in error messages 2022-07-23 18:07:25 +01:00
Samuel Elliott
a32c3dec72
Update API types 2022-07-23 17:45:20 +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
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
1fc6cce5a6
Add support for all Discord presence options for the app 2022-06-18 12:46:03 +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
60c0e592db
Electron app 2022-06-05 15:04:36 +01:00
Samuel Elliott
27e8fa5401
Fix automatically renewing token never completes 2022-05-30 23:59:03 +01:00
Samuel Elliott
9f63fc8359
Handle simultaneous znc proxy requests properly 2022-05-30 13:16:06 +01:00