Python Example
No credit card required
Python Example
No credit card required
Example Actor written in Python, showing how to read the Actor input and push to the Actor's default dataset.
You can access the Python Example 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 "first_number": 1,
3 "second_number": 2
4}' |
5apify call apify/python-example --silent --output-dataset
Python Example API through CLI
The Apify CLI is the official tool that allows you to use Python Example locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Actor Metrics
5 monthly users
-
2 stars
>99% runs succeeded
Created in Mar 2023
Modified 2 years ago