splatnet3_scraper.auth.NSO.get_session_token(session_token_code)

Obtains the session token from the session token code.

This method will obtain the session token from the session token code. It will use provide the session token code to Nintendo’s servers alongside the session token code verifier. Nintendo will then verify that the user is who they say they are and return the session token.

Parameters:
session_token_code : str

The session token code. This is obtained by parsing the uri obtained at the URL returned by generate_login_url.

Returns:

str – The session token. DO NOT SHARE THIS TOKEN WITH ANYONE.