Skip to content

Commit 6f21667

Browse files
docs: Align quick start wording with JS client version
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0cf4788 commit 6f21667

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/01_introduction/quick-start.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Learn how to authenticate, run Actors, and retrieve results using the Apify API
2222

2323
## Step 1: Authenticate the client
2424

25-
To use the client, you need an [API token](/platform/integrations/api#api-token). You can find your token under the [Integrations](https://console.apify.com/account/integrations) tab in Apify Console. Copy the token and initialize the client by providing it as a parameter to the `ApifyClient` constructor.
25+
To use the client, you need an [API token](https://docs.apify.com/platform/integrations/api#api-token). You can find your token under the [Integrations](https://console.apify.com/account/integrations) tab in Apify Console. Copy the token and initialize the client by providing it (`MY-APIFY-TOKEN`) as a parameter to the `ApifyClient` constructor.
2626

2727
<Tabs>
2828
<TabItem value="AsyncExample" label="Async client" default>
@@ -45,9 +45,9 @@ The API token is used to authorize your requests to the Apify API. You can be ch
4545

4646
## Step 2: Run an Actor
4747

48-
To start an Actor, you need its ID (e.g., `john-doe/my-cool-actor`) and an API token. The Actor's ID is a combination of the Actor owner's username and the Actor name. You can run both your own Actors and [Actors from Apify Store](https://docs.apify.com/platform/actors/running/actors-in-store).
48+
To start an Actor, call the [`apify_client.actor()`](/reference/class/ActorClient) method with the Actor's ID (e.g., `john-doe/my-cool-actor`). The Actor's ID is a combination of the Actor owner's username and the Actor name. You can run both your own Actors and Actors from [Apify Store](https://apify.com/store).
4949

50-
To define the Actor's input, pass a dictionary to the [`ActorClient.call`](/reference/class/ActorClient#call) method that matches the Actor's [input schema](https://docs.apify.com/platform/actors/development/actor-definition/input-schema). The input can include URLs to scrape, search terms, or other configuration data.
50+
To define the Actor's input, pass a dictionary to the [`call()`](/reference/class/ActorClient#call) method that matches the Actor's [input schema](https://docs.apify.com/platform/actors/development/actor-definition/input-schema). The input can include URLs to scrape, search terms, or other configuration data.
5151

5252
<Tabs>
5353
<TabItem value="AsyncExample" label="Async client" default>
@@ -64,7 +64,7 @@ To define the Actor's input, pass a dictionary to the [`ActorClient.call`](/refe
6464

6565
## Step 3: Get results from the dataset
6666

67-
To get the results from the dataset, use the [`DatasetClient`](/reference/class/DatasetClient) ([`ApifyClient.dataset`](/reference/class/ApifyClient#dataset)) and [`DatasetClient.list_items`](/reference/class/DatasetClient#list_items) method. You need to pass the dataset ID to define which dataset you want to access. You can get the dataset ID from the Actor's run dictionary (represented by `defaultDatasetId`).
67+
To get the results from the dataset, call the [`apify_client.dataset()`](/reference/class/DatasetClient) method with the dataset ID, then call [`list_items()`](/reference/class/DatasetClient#list_items) to retrieve the data. You can get the dataset ID from the Actor's run dictionary (represented by `defaultDatasetId`).
6868

6969
<Tabs>
7070
<TabItem value="AsyncExample" label="Async client" default>

0 commit comments

Comments
 (0)