Commit Graph

36 Commits

Author SHA1 Message Date
Samuel Elliott
e999ca85d8
Handle errors opening web services and check NSO membership 2022-04-17 21:53:02 +01:00
Samuel Elliott
68246fbb6b
Implement APIs for web services (required for NookLink) 2022-04-17 00:56:08 +01:00
Samuel Elliott
53a15bbb99
Use /v3/Account/GetToken to renew the app token 2022-04-08 22:13:43 +01:00
Samuel Elliott
e138f67969
Add update check 2022-04-08 20:35:57 +01:00
Samuel Elliott
77a32e1b5e
Add an option to show event data 2022-04-08 19:57:45 +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
8bd6f306f8
Don't update web services and events with friends list 2022-04-06 22:48:35 +01:00
Samuel Elliott
ac921e3f16
Add a command to show/update presence permissions and simplify notify/presence updates 2022-04-06 22:41:17 +01:00
Samuel Elliott
b677b22809
Add a command to start the Electron app 2022-04-05 20:48:26 +01:00
Samuel Elliott
32cf761bf2
Fix pctl auth 2022-03-26 22:13:20 +00:00
Samuel Elliott
5c79874118
Allow automatically updating iksm_session while monitoring SplatNet 2 2022-03-26 22:12:04 +00:00
Samuel Elliott
e801487010
Validate session tokens and znca id_tokens 2022-03-26 21:12:46 +00: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
74c6f71a76
Add aliases for --splatnet2-monitor-* options and don't require setting a directory for downloading Parental Controls and SplatNet 2 data 2022-03-25 19:01:31 +00:00
Samuel Elliott
085d8a6a54
Use a single loop class for nso notify/presence and splatnet2 monitor 2022-03-25 18:55:03 +00:00
Samuel Elliott
d5cf1b87a8
Use NXAPI_DATA_PATH and ZNC_PROXY_URL environment variables 2022-03-25 18:43:50 +00:00
Samuel Elliott
f1d262bfa7
Add commands to list stages, challenges, weapon stats, hero stats, battles and stage schedules from SplatNet 2 2022-03-25 18:42:00 +00:00
Samuel Elliott
1a36947720
Add API proxy access tokens
This allows providing access to the API proxy server as your account but only to access certain data (probably user/friend presence for Discord).

For example a token generated using `nxapi nso znc-proxy-tokens --znc-proxy-url "http://[::1]:12345/api/znc" create --policy-user-presence` will only be able to access your presence at http://[::1]:12345/api/znc/user/presence (with the access token provided in the Authorization header as a Bearer token or in the token query string parameter).
2022-03-22 23:39:56 +00:00
Samuel Elliott
8b28ffd4ca
Add monitoring of SplatNet 2 data 2022-03-22 22:13:21 +00:00
Samuel Elliott
b50717169a
Include lifetime inkage challenges and only download updated data by default 2022-03-22 20:26:16 +00:00
Samuel Elliott
0839ff520b
Show if playing online even for games that don't set a description 2022-03-22 20:07:21 +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
Samuel Elliott
0515a781f7
Add an option to show inactive presence (console online but user not selected) on Discord 2022-03-18 19:21:01 +00:00
Samuel Elliott
c002f7ef03
Detailed friend online status 2022-03-18 19:18:15 +00:00
Samuel Elliott
a6f4a5a601
Fix updating friends presence 2022-03-18 19:16:50 +00:00
Samuel Elliott
cc8dbc6f6e
Fix docker-entrypoint.sh arguments and don't require specifying an IP address in servers 2022-03-18 09:11:40 +00:00
Samuel Elliott
2005f34780
Add server to generate f parameters for NSO app authentication 2022-03-17 15:18:35 +00:00
Samuel Elliott
4de8373e0b
Add JSON output for pctl devices 2022-03-17 14:59:16 +00:00
Samuel Elliott
b66ef0050d
Remove parental controls account data when removing a user 2022-03-17 13:09:31 +00:00
Samuel Elliott
311d13d0d1
Move Nintendo Switch Online commands 2022-03-17 13:06:12 +00:00
Samuel Elliott
3919ceeb21
Add parental controls 2022-03-16 21:03:31 +00:00
Samuel Elliott
1b71e8b8fe
Add an option to output JSON 2022-03-16 20:17:43 +00:00
Samuel Elliott
5aba992899
Add a command to get a session token 2022-03-16 20:14:33 +00:00
Samuel Elliott
c0c138ef49
Add HTTP server 2022-03-13 18:03:05 +00:00
Samuel Elliott
0bdd4b4614
Initial commit 2022-03-12 23:44:27 +00:00