Skip to main content

StoreCollectionClient

Sub-client for Apify store.

Hierarchy

Index

Methods

__init__

  • __init__(*, base_url, root_client, http_client, resource_id, resource_path, params): None
  • Initialize a new instance.


    Parameters

    • keyword-onlybase_url: str

      Base URL of the API server.

    • keyword-onlyroot_client: ApifyClient

      The ApifyClient instance under which this resource client exists.

    • keyword-onlyhttp_client: HTTPClient

      The HTTPClient instance to be used in this client.

    • optionalkeyword-onlyresource_id: str | None = None

      ID of the manipulated resource, in case of a single-resource client.

    • keyword-onlyresource_path: str

      Path to the resource's endpoint on the API server.

    • optionalkeyword-onlyparams: dict | None = None

      Parameters to include in all requests from this client.

    Returns None

list

  • list(*, limit, offset, search, sort_by, category, username, pricing_model): ListPage[dict]

  • Parameters

    • optionalkeyword-onlylimit: int | None = None

      How many Actors to list.

    • optionalkeyword-onlyoffset: int | None = None

      What Actor to include as first when retrieving the list.

    • optionalkeyword-onlysearch: str | None = None

      String to search by. The search runs on the following fields: title, name, description, username, readme.

    • optionalkeyword-onlysort_by: str | None = None

      Specifies the field by which to sort the results.

    • optionalkeyword-onlycategory: str | None = None

      Filter by this category.

    • optionalkeyword-onlyusername: str | None = None

      Filter by this username.

    • optionalkeyword-onlypricing_model: str | None = None

      Filter by this pricing model.

    Returns ListPage[dict]

Properties

http_client

params

params: dict

resource_id

resource_id: str | None

root_client

url

url: str