Commit Graph

105 Commits

Author SHA1 Message Date
Samuel Elliott
20bab43981
Handle connecting directly to the event stream URL 2022-11-16 12:13:48 +00:00
Samuel Elliott
8f6ae71061
Add a command to monitor SplatNet 3 records 2022-10-26 14:21:11 +01:00
Samuel Elliott
616c40888a
Update splatnet3-types 2022-10-22 00:19:49 +01:00
Samuel Elliott
04e6a80496
Use SplatNet 3 types from splatnet3-types 2022-10-20 22:57:35 +01:00
Samuel Elliott
e2ac4bbfb3
Use cached web service token to renew SplatNet 3 tokens and fix retrying getting web service tokens after renewing coral token 2022-10-11 20:47:26 +01:00
Samuel Elliott
9d6d49b44d
Update SplatNet 3 revision and query IDs 2022-10-11 12:06:50 +01:00
Samuel Elliott
5cb66f4249
Use cached web service token to renew SplatNet 3 tokens 2022-10-11 12:05:50 +01:00
Samuel Elliott
b6002cbf8b
Regenerate f when requesting a web service token after refreshing the coral token 2022-10-11 11:32:41 +01:00
Samuel Elliott
43cbccd9cb
Update coral
https://github.com/samuelthomas2774/nxapi/issues/25
2022-09-28 20:43:03 +01:00
Samuel Elliott
50d942ae44
Update SplatNet 3 types 2022-09-28 02:27:54 +01:00
Samuel Elliott
587b1237fb
Update SplatNet 3 types 2022-09-26 17:05:22 +01:00
Samuel Elliott
d9fb2657e6
Update SplatNet 3 types 2022-09-26 16:40:09 +01:00
Samuel Elliott
72995b1a05
Use Splatoon 3 presence data from custom presence URLs 2022-09-24 23:02:24 +01:00
Samuel Elliott
b26f71f930
Update documentation 2022-09-23 21:31:12 +01:00
Samuel Elliott
a0e9bc79b2
Update SplatNet 3 types 2022-09-23 12:15:10 +01:00
Samuel Elliott
c85d184807
Use correct Splatfest stages and update stage images 2022-09-21 18:48:02 +01:00
Samuel Elliott
c7fbe15047
Automatically renew SplatNet 3 tokens 2022-09-21 16:09:13 +01:00
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