Trueachievements Scraper avatar
Trueachievements Scraper
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Trueachievements Scraper

Trueachievements Scraper

epctex/trueachievements-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Get any information from Trueachievements! Games, articles, comments, achievements, developers, publishers, genres, and all the extensive information are ready for you! Search for keywords, genres, publishers, and series, filter by your needs, and export your data by XML, JSON, CSV, Excel, or HTML

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    "search": "rock",
9    "startUrls": [
10        "https://www.trueachievements.com/news?search=game",
11        "https://www.trueachievements.com/n52218/way-to-the-woods-game-pass",
12        "https://www.trueachievements.com/game/Monster-Energy-Supercross-4",
13        "https://www.trueachievements.com/xbox-series",
14        "https://www.trueachievements.com/series/Call-of-Duty?distinct=true&dlcsetting=AllDLC",
15        "https://www.trueachievements.com/publisher/Electronic-Arts/games",
16        "https://www.trueachievements.com/xbox-game-pass/games",
17        "https://www.trueachievements.com/games.aspx",
18        "https://www.trueachievements.com/genre/Simulation-Racing",
19        "https://www.trueachievements.com/searchresults.aspx?search=game",
20    ],
21    "maxItems": 20,
22    "endPage": 1,
23    "extendOutputFunction": "($) => { return {} }",
24    "customMapFunction": "(object) => { return {...object} }",
25    "proxy": { "useApifyProxy": True },
26}
27
28# Run the Actor and wait for it to finish
29run = client.actor("epctex/trueachievements-scraper").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
  • 1 monthly user
  • 1 star
  • 100.0% runs succeeded
  • Created in Jan 2023
  • Modified about 23 hours ago