Pay per event example avatar

Pay per event example

Try for free

This Actor is paid per event

View all Actors
Pay per event example

Pay per event example

mhamas/pay-per-event-example
Try for free

This Actor is paid per event

This is an example pay-per-event Actor. When running it, you don't pay for the underlying platform usage, just for the Actor start event, and trivia facts it generates.

You can access the Pay per event 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  "trivia": [
3    {
4      "name": "lord-of-the-rings",
5      "count": 1
6    },
7    {
8      "name": "harry-potter",
9      "count": 5
10    },
11    {
12      "name": "star-wars",
13      "count": 10
14    }
15  ]
16}' |
17apify call mhamas/pay-per-event-example --silent --output-dataset

Pay per event example API through CLI

The Apify CLI is the official tool that allows you to use Pay per event 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:

Developer
Maintained by Community

Actor Metrics

  • 3 monthly users

  • 3 stars

  • >99% runs succeeded

  • Created in Sep 2024

  • Modified 22 days ago

Categories