_BaseApifyClient
Hierarchy
- _BaseApifyClient
Index
Methods
Properties
Methods
__init__
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. Defaults to https://api.apify.com. It can be an internal URL that is not globally accessible, in such case
api_public_url
should be set as well.optionalkeyword-onlyapi_public_url: str | None = None
The globally accessible URL of the Apify API server. It should be set only if the
api_url
is an internal URL that is not globally accessible.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
Initialize a new instance.