Commit Graph

76 Commits

Author SHA1 Message Date
Samuel Elliott
9d05161bf3
Fix sharing a friend's presence on Discord 2022-04-26 13:59:54 +01:00
Samuel Elliott
8f5965913d
Add a command to test getting Discord activity from Nintendo Switch presence 2022-04-22 20:00:06 +01:00
Samuel Elliott
0b567e3d3f
Fix user icon in Discord when using --friend-nsaid and show current revision in Discord 2022-04-22 19:37:17 +01:00
Samuel Elliott
78e50d7cc0
Fix CI 2022-04-21 19:09:57 +01:00
Samuel Elliott
5559f8df33
Add a command to validate Discord title configuration 2022-04-21 18:49:24 +01:00
Samuel Elliott
508c8dfa3f
Add command to encrypt/decrypt capture IDs 2022-04-21 18:22:05 +01:00
Samuel Elliott
fb1582dea9
Update NookLink types 2022-04-21 18:06:09 +01:00
Samuel Elliott
f294daa5bc
Fix getting current user presence with API proxy 2022-04-21 18:05:24 +01:00
Samuel Elliott
d07dcabe6f
Show demo title names as large image text and show the user's Nintendo Switch icon if sharing friend code 2022-04-21 17:58:16 +01:00
Samuel Elliott
b508fcc072
Add command to encrypt/decrypt capture IDs 2022-04-21 16:54:15 +01:00
Samuel Elliott
3f73570096
Add Discord applications for most Nintendo titles 2022-04-21 15:29:06 +01:00
Samuel Elliott
8decef8dda
Update README.md 2022-04-18 14:47:43 +01:00
Samuel Elliott
b74994327c
Add NookLink commands 2022-04-18 14:45:24 +01:00
Samuel Elliott
819bd02313
Update NookLink types 2022-04-18 13:47:01 +01:00
Samuel Elliott
816709c3fd
Save active Discord Presence/notifications 2022-04-18 13:34:43 +01:00
Samuel Elliott
c67b326177
Resize screenshots for GitHub/GitLab 2022-04-18 00:43:58 +01:00
Samuel Elliott
c0f71a042b
Update README.md 2022-04-18 00:33:32 +01:00
Samuel Elliott
f807719f3a
Add Discord Rich Presence and user/friend presence notifications to the Electron app 2022-04-17 22:29:14 +01:00
Samuel Elliott
e999ca85d8
Handle errors opening web services and check NSO membership 2022-04-17 21:53:02 +01:00
Samuel Elliott
2ee7438faa
Use a persistent session for web services
This means data saved using standard web APIs (e.g. localStorage, HTTP cookies) is saved across reloads.
2022-04-17 01:21:19 +01:00
Samuel Elliott
407f72621c
Used znc proxy when opening web services 2022-04-17 00:59:06 +01:00
Samuel Elliott
68246fbb6b
Implement APIs for web services (required for NookLink) 2022-04-17 00:56:08 +01:00
Samuel Elliott
3502b7ab87
Update NookLink types 2022-04-16 16:38:45 +01:00
Samuel Elliott
42bf25d5ee
Show online/event status for Animal Crossing: New Horizons 2022-04-16 16:38:00 +01:00
Samuel Elliott
4d593deb7f
Use /v3/Account/GetToken to renew the app token 2022-04-08 23:53:04 +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
ec996ef461
Update znma version
This has never been required before...? (I think) I was asked to check analytics settings after updating so maybe that's why.
2022-04-06 20:58:35 +01:00
Samuel Elliott
b677b22809
Add a command to start the Electron app 2022-04-05 20:48:26 +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
2bc251a58b
Add Nintendo Account authentication and web services in Electron 2022-04-05 20:37:33 +01:00
Samuel Elliott
a5838ec47b
Skip dependency type checks and skip building caxa binary 2022-03-29 23:30:28 +01:00
Samuel Elliott
425c838649
Update README.md 2022-03-29 23:21:51 +01:00
Samuel Elliott
570e3d6b29
Set environment variables from a file and add Electron app base 2022-03-29 22:57:19 +01:00
Samuel Elliott
d548a0e37e
Publish to npm 2022-03-26 23:00:08 +00: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
f6fe7b57ba
Add NookLink API types 2022-03-25 19:20:36 +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
28b3468835
Save SplatNet 2 language, region and user ID with iksm_session 2022-03-25 18:23:44 +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