- splatnet3_scraper.auth.NSO.get_gtoken_request(web_service_access_token, f_token, request_id, timestamp)
Given the
web_service_access_token,f_token,request_id, andtimestamp, returns thegtoken.This is named differently from the other
get_gtokenfunction to avoid confusion. This function specifically makes the request to Nintendo’s servers to obtain thegtokengiven the web service access token,f_token,request_id, andtimestamp. The other function only takes thesession_tokenand generates all of the other intermediate tokens to obtain thegtokenby finally calling this function.- Parameters:¶
- web_service_access_token : str¶
The
web_service_access_tokenobtained from the first half of thegtokengeneration process.- f_token : str¶
The
f_tokengenerated from theweb_service_access_token. It is important that this is thef_tokengenerated from theweb_service_access_tokenusing the second hashing method and not the first.- request_id : str¶
The
request_idreturned alongside thef_tokenandtimestamp.- timestamp : str¶
The
timestampreturned alongside thef_tokenandrequest_id.
- Returns:¶
str – The
gtoken.