Skip to main content
Version: Next

externalApifyClient

ApifyClient is the official library to access Apify API from your JavaScript applications. It runs both in Node.js and browser.

Index

Constructors

externalconstructor

Properties

externalbaseUrl

baseUrl: string

externalhttpClient

httpClient: HttpClient

externallogger

logger: Log

externalstats

stats: Statistics

externaloptionaltoken

token?: string

Methods

externalactor

  • actor(id): ActorClient

externalactors

  • actors(): ActorCollectionClient

externalbuild

  • build(id): BuildClient

externalbuilds

  • builds(): BuildCollectionClient

externaldataset

  • dataset<Data>(id): DatasetClient<Data>

externaldatasets

  • datasets(): DatasetCollectionClient

externalkeyValueStore

  • keyValueStore(id): KeyValueStoreClient

externalkeyValueStores

  • keyValueStores(): KeyValueStoreCollectionClient

externallog

  • log(buildOrRunId): LogClient

externalrequestQueue

  • requestQueue(id, options): RequestQueueClient

externalrequestQueues

  • requestQueues(): RequestQueueCollectionClient

externalrun

  • run(id): RunClient

externalruns

  • runs(): RunCollectionClient

externalschedule

  • schedule(id): ScheduleClient

externalschedules

  • schedules(): ScheduleCollectionClient

externalsetStatusMessage

  • setStatusMessage(message, options): Promise<void>
  • Parameters

    • message: stringexternal
    • options: SetStatusMessageOptionsexternaloptional

    Returns Promise<void>

externalstore

  • store(): StoreCollectionClient

externaltask

  • task(id): TaskClient

externaltasks

  • tasks(): TaskCollectionClient

externaluser

  • user(id): UserClient

externalwebhook

  • webhook(id): WebhookClient

externalwebhookDispatch

  • webhookDispatch(id): WebhookDispatchClient

externalwebhookDispatches

  • webhookDispatches(): WebhookDispatchCollectionClient

externalwebhooks

  • webhooks(): WebhookCollectionClient