Skip to main content

_BaseApifyClient

Hierarchy

Index

Methods

Properties

Methods

__init__

  • __init__(token, *, api_url, max_retries, min_delay_between_retries_millis, timeout_secs): None
  • Initialize a new instance.


    Parameters

    • optionaltoken: str | None = None

      The Apify API token.

    • optionalkeyword-onlyapi_url: str | None = None

      The URL of the Apify API server to which to connect to. Defaults to https://api.apify.com.

    • optionalkeyword-onlymax_retries: int | None = 8

      How many times to retry a failed request at most.

    • optionalkeyword-onlymin_delay_between_retries_millis: int | None = 500

      How long will the client wait between retrying requests (increases exponentially from this value).

    • optionalkeyword-onlytimeout_secs: int | None = DEFAULT_TIMEOUT

      The socket timeout of the HTTP requests sent to the Apify API.

    Returns None

Properties

http_client

Page Options