splatnet3_scraper.query.QueryResponse.__getitem__(key)

Returns a QueryResponse object containing the data at the given key. If the key is a tuple, this method will treat it as taking multiple keys in order to get to the data. For example, the following two are equivalent:

>>> query_response["key1"]["key2"] == query_response["key1", "key2"]

This method will then return a QueryResponse object containing the data at the given key.

Parameters:
key : PathType

The key to get the data

Returns:

QueryResponse – The QueryResponse object containing the data.