splatnet3_scraper.query.QueryResponse.items()

Returns a list of items in the data. If the top level of the data is a list, this method will return a list of integers from 0 to the length as the keys.

Done to match the behavior of dict.items(), which returns a list of tuples of the form (key, value). This method will return a list of tuples of the form (key, value) where the key can be an integer if the top level of the data is a list, otherwise it works the same as dict.items().

Returns:

list[tuple[str, Any]] – The items in the data.