I know this is an old topic, but I thought I'd bring this to you guys' attention anyway. It is possible to generate `f`. It is a SHA256 HMAC of the users `id_token` from https://accounts.nintendo.com/connect/1.0.0/api/token and a static key found in the Nintendo Switch app. The key is common to each Switch app, and is encrypted somewhere within. To my knowledge only one person has gotten the key, and they (understandably) will not give it away or give any detailed guide on how to get it. All they told me is that it is encrypted and found somewhere in the app.
However the person who found the key DOES provide their own API for generating `f`. Sending a POST request to https://elifessler.com/s2s/api/gen with the payload:
will return a usable `f` value.
If you guys want to be generate your own `f` values without using a 3rd party (whether it's for security reasons, speed, or whatever) then your best bet is looking through the Android APK, but right now I think using this service is the easiest.
The guy has some basic requirements that boil down to "don't be a dick and abuse", https://github.com/frozenpandaman/splatnet2statink/wiki/api-docs
However the person who found the key DOES provide their own API for generating `f`. Sending a POST request to https://elifessler.com/s2s/api/gen with the payload:
Code:
{'naIdToken': id_token}
If you guys want to be generate your own `f` values without using a 3rd party (whether it's for security reasons, speed, or whatever) then your best bet is looking through the Android APK, but right now I think using this service is the easiest.
The guy has some basic requirements that boil down to "don't be a dick and abuse", https://github.com/frozenpandaman/splatnet2statink/wiki/api-docs