kinnay / NintendoClients

Python package to communicate with Switch, Wii U and 3DS servers
MIT License
559 stars 68 forks source link

Update Telemetry Page #80

Open InternalLoss opened 2 years ago

InternalLoss commented 2 years ago

https://github.com/kinnay/NintendoClients/wiki/Telemetry-Servers lists only receive for data telemetry - it now seems https://fw-api.lp1.nso.nintendo.net/v1/events is also used when enabled via sprofile, and events such as the following are sent:

{"type_name":"online_play","version":1,"occurred_at":1645484612,"application_id":"01006f8002326000"}

with {"message":"OK"} as a response.

Also, "telemetry" is misspelt a few times ^^

InternalLoss commented 2 years ago

CORRECTION: This API isn't (just?) for Telemetry - it's for Nintendo Switch Online's webapp rewards; events such as uploading save data to the cloud, online play, and playing NES games all trigger events that give you point rewards.

Application event example (NES app, playing a game):

{"type_name":"application_event","version":1,"occurred_at":1646124653,"application_id":"0100d870045b6000","event_data":"{\"title_id\":\"CLV-P-NAACE-sp1\"}"}

And a savedata upload:

{"type_name":"savedata_upload","version":1,"occurred_at":1646124902,"application_id":"0100d870045b6000"}