KeyValueStoreCollectionClient
Index
Methods
Methods
get_or_create
Retrieve a named key-value store, or create a new one when it doesn't exist.
https://docs.apify.com/api/v2#/reference/key-value-stores/store-collection/create-key-value-store
Parameters
keyword-onlyname: str | None = None
The name of the key-value store to retrieve or create.
keyword-onlyschema: dict | None = None
The schema of the key-value store
Returns dict
The retrieved or newly-created key-value store.
list
List the available key-value stores.
Parameters
keyword-onlyunnamed: bool | None = None
Whether to include unnamed key-value stores in the list
keyword-onlylimit: int | None = None
How many key-value stores to retrieve
keyword-onlyoffset: int | None = None
What key-value store to include as first when retrieving the list
keyword-onlydesc: bool | None = None
Whether to sort the key-value stores in descending order based on their modification date
Returns ListPage[dict]
The list of available key-value stores matching the specified filters.
Sub-client for manipulating key-value stores.