Skip to main content

DatasetCollectionClient

apify_client.clients.DatasetCollectionClient

Sub-client for manipulating datasets.

Index

Methods

get_or_create

  • get_or_create(*, name, schema): Dict

list

  • list(*, unnamed, limit, offset, desc): ListPage[Dict]

  • Parameters

    • unnamed: Optional[bool] = Noneoptionalkeyword-only

      Whether to include unnamed datasets in the list

    • limit: Optional[int] = Noneoptionalkeyword-only

      How many datasets to retrieve

    • offset: Optional[int] = Noneoptionalkeyword-only

      What dataset to include as first when retrieving the list

    • desc: Optional[bool] = Noneoptionalkeyword-only

      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.