Dynamic Input
Try for free
No credit card required
View all Actors
Dynamic Input
useful-tools/dynamic-input
Try for free
No credit card required
Actor for calling other Actors with dynamic input
You can access the Dynamic Input programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "input": "// Available packages:\\n// - Apify Actor - https://docs.apify.com/sdk/js/reference/class/Actor\\n// - example:\\n// await Actor.pushData({ my : '\''data'\''});\\n// - Axios - https://axios-http.com/\\n// - example:\\n// log.info(`Current IP is: ${(await Axios.get('\''https://ipinfo.io/json'\'')).data.ip}`)\\n// - Moment.js - https://momentjs.com/\\n// - example:\\n// log.info(`Tomorrow is: ${moment().add(1, '\''day'\'').toISOString()}`)\\n\\nconst waitTime = Math.ceil(5 + Math.random() * 10);\\n\\nreturn {\\n minWaitTime: waitTime,\\n maxWaitTime: waitTime + 2_000\\n}",
3 "proxyConfiguration": {
4 "useApifyProxy": true
5 }
6}' |
7apify call useful-tools/dynamic-input --silent --output-dataset
Dynamic Input API through CLI
The Apify CLI is the official tool that allows you to use Dynamic Input locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Developer
Maintained by Community
Actor Metrics
3 monthly users
-
5 stars
98% runs succeeded
Created in Sep 2023
Modified 7 months ago
Categories