Multiple Actors Runner avatar
Multiple Actors Runner

Deprecated

Pricing

$10.00/month + usage

Go to Store
Multiple Actors Runner

Multiple Actors Runner

Deprecated

Developed by

cat

Maintained by Community

Run multiple Actors concurrently

0.0 (0)

Pricing

$10.00/month + usage

1

Total users

1

Monthly users

1

Last modified

a year ago

You can access the Multiple Actors Runner programmatically from your own applications by using the Apify API. You can also 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.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = { "tasks": [
9        {
10            "key": "compass/crawler-google-places",
11            "value": "{ \"testing\": 1 }",
12        },
13        {
14            "key": "apify/google-search-scraper",
15            "value": "{ \"testing\": 2 }",
16        },
17        {
18            "key": "apify/facebook-posts-scraper",
19            "value": "{ \"testing\": 3 }",
20        },
21        {
22            "key": "apify/google-search-scraper",
23            "value": "{ \"testing\": 4 }",
24        },
25        {
26            "key": "vdrmota/contact-info-scraper",
27            "value": "{ \"testing\": 5 }",
28        },
29        {
30            "key": "apify/facebook-hashtag-scraper",
31            "value": "{ \"testing\": 6 }",
32        },
33        {
34            "key": "apify/facebook-groups-scraper",
35            "value": "{ \"testing\": 7 }",
36        },
37        {
38            "key": "apify/web-scraper",
39            "value": "{ \"testing\": 8 }",
40        },
41    ] }
42
43# Run the Actor and wait for it to finish
44run = client.actor("jupri/runner").call(run_input=run_input)
45
46# Fetch and print Actor results from the run's dataset (if there are any)
47print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
48for item in client.dataset(run["defaultDatasetId"]).iterate_items():
49    print(item)
50
51# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Multiple Actors Runner API in Python

The Apify API client for Python is the official library that allows you to use Multiple Actors Runner API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include: