static splatnet3_scraper.scraper.SplatNet_Scraper.from_env(prefix='')

Creates a SplatNet_Scraper instance using the environment variables.

Parameters:
prefix : str

The prefix to use for the environment variables. Defaults to “SN3S”.

Environment variables:

(prefix)_SESSION_TOKEN: The session token to use. (prefix)_GTOKEN: The gtoken to use. (prefix)_BULLET_TOKEN: The bullet token to use.

Returns:

SplatNet_Scraper – The SplatNet_Scraper instance.