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