splatnet3_scraper.auth.NSO.get_user_access_token(session_token)

Obtains the user access token from the session token.

This method sends a request to Nintendo’s servers containing the session token to obtain the user access token and the id_token. The user access token is then used to obtain the user’s data, while the id_token is used to obtain the user’s gtoken.

Parameters:
session_token : str

The session token.

Returns:

dict – The response from Nintendo’s servers. This contains two keys of interest: access_token and id_token. The access_token is used to obtain the user’s data, while the id_token is used to obtain the user’s gtoken.