We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a3dce commit 8be6129Copy full SHA for 8be6129
apify-api/openapi/code_samples/js/acts_get.js
@@ -0,0 +1,8 @@
1
+import { ApifyClient } from 'apify-client';
2
+
3
+const apifyClient = new ApifyClient({ token: 'my-token' });
4
+const actorCollectionClient = apifyClient.actors();
5
6
+const { items } = await actorCollectionClient.list();
7
8
+console.log(items);
apify-api/openapi/paths/actors/acts.yaml
@@ -94,6 +94,12 @@ get:
94
x-py-parent: ActorCollectionClientAsync
95
x-py-name: list
96
x-py-doc-url: https://docs.apify.com/api/client/python/reference/class/ActorCollectionClientAsync#list
97
+ x-codeSamples:
98
+ - lang: JavaScript
99
+ label: JS client
100
+ source:
101
+ $ref: ../../code_samples/js/acts_get.js
102
103
post:
104
tags:
105
- Actors/Actor collection
0 commit comments