Status Page avatar
Status Page
Try for free

No credit card required

View all Actors
Status Page

Status Page

jannovotny/status-page
Try for free

No credit card required

Show charts with daily counts of your datasets. Useful for monitoring periodical scrapes.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "charts": [{
9            "id": "my-super-chart-1",
10            "name": "My chart",
11            "showTable": False,
12        }],
13    "rebrandly": {
14        "id": "LinkId",
15        "apiKey": "YourApiKey",
16        "workspace": "YourWorkspaceId",
17        "title": "My cool dashboard",
18    },
19    "intervals": [
20        "day",
21        "week",
22        "two-weeks",
23        "month",
24        "two-months",
25    ],
26}
27
28# Run the Actor and wait for it to finish
29run = client.actor("jannovotny/status-page").call(run_input=run_input)
30
31# Fetch and print Actor results from the run's dataset (if there are any)
32print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
33for item in client.dataset(run["defaultDatasetId"]).iterate_items():
34    print(item)
35
36# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 2 stars
  • 100.0% runs succeeded
  • Created in Jan 2019
  • Modified about 2 years ago
Categories