splatnet3_scraper.auth.GraphQLQueries.query_body(query_name, variables={})

Generates the body for the GraphQL queries, as a string.

This method is a wrapper around the query_body_hash method. It gets the query hash using the get_query method and then calls the query_body_hash method to generate the body. For more information on the valid queries, see the queries page of the documentation.

Parameters:
query_name : str

The name of the query.

variables : dict[str, str]

The variables to pass to the query. If the query does not take any variables, this can be an empty dictionary. Defaults to {}.

Returns:

str – The body for the GraphQL queries, as a string.