static splatnet3_scraper.scraper.SplatNet_Scraper.from_tokens(session_token, gtoken=None, bullet_token=None)

Creates a SplatNet_Scraper instance using the given tokens. This is useful if you already have the tokens and don’t want to have to retrieve them again. This does not guarantee that the tokens are valid, that will be checked when the first query is run.

Parameters:
session_token : str

The session token to use.

gtoken : str | None

The gtoken to use. If None, it will be retrieved from the session token. Defaults to None.

bullet_token : str | None

The bullet token to use. If None, it will be retrieved from the session token. Defaults to None.

Returns:

SplatNet_Scraper – The SplatNet_Scraper instance.