splatnet3_scraper.query.QueryHandler.raw_query(query_name, language=None, variables={})

Makes a raw query to the SplatNet 3 API.

This method is used to make a raw query to the SplatNet 3 API. It is not recommended that the user use this method directly, but rather use the query method instead, as it will handle all the token management automatically. This method is rarely useful, but it is provided for completeness… and because I don’t like hidden methods all that much.

Parameters:
query_name : str

The name of the query to use.

language : str | None

The language to use for the query. If None, the language loaded into the Config object will be used. Defaults to None.

variables : dict

The variables to use in the query. Defaults to {}.

Returns:

requests.Response – The response from the query.