- splatnet3_scraper.auth.NSO.get_web_service_access_token(id_token, user_info, f_token, request_id, timestamp)
Given the
id_token, user data,f_token,request_id, andtimestamp, returns the Web Service Credential Access Token.This is the first step of the
gtokengeneration process. This will return the Web Service Credential Access Token from Nintendo’s servers, which is then used to obtain thegtoken.- Parameters:¶
- id_token : str¶
The
id_tokenfrom the user access response.- user_info : dict[str, str]¶
The dictionary of user info returned by
get_user_info. This must contain the keyslanguage,birthday, andcountry.- f_token : str¶
The
f_tokengenerated from theid_token. It is important that this is thef_tokengenerated from theid_tokenusing the first hashing method and not the second.- request_id : str¶
The
request_idreturned alongside thef_tokenandtimestamp.- timestamp : str¶
The
timestampreturned alongside thef_tokenandrequest_id.
- Returns:¶
str – The Web Service Credential Access Token.
str – The coral user ID.