Trueachievements Scraper avatar
Trueachievements Scraper
Try for free

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

View all Actors
Trueachievements Scraper

Trueachievements Scraper

epctex/trueachievements-scraper
Try for free

3 days trial then $15.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 mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "search": "rock",
11    "startUrls": [
12        "https://www.trueachievements.com/news?search=game",
13        "https://www.trueachievements.com/n52218/way-to-the-woods-game-pass",
14        "https://www.trueachievements.com/game/Monster-Energy-Supercross-4",
15        "https://www.trueachievements.com/xbox-series",
16        "https://www.trueachievements.com/series/Call-of-Duty?distinct=true&dlcsetting=AllDLC",
17        "https://www.trueachievements.com/publisher/Electronic-Arts/games",
18        "https://www.trueachievements.com/xbox-game-pass/games",
19        "https://www.trueachievements.com/games.aspx",
20        "https://www.trueachievements.com/genre/Simulation-Racing",
21        "https://www.trueachievements.com/searchresults.aspx?search=game"
22    ],
23    "maxItems": 20,
24    "endPage": 1,
25    "extendOutputFunction": ($) => { return {} },
26    "customMapFunction": (object) => { return {...object} },
27    "proxy": {
28        "useApifyProxy": true
29    }
30};
31
32(async () => {
33    // Run the Actor and wait for it to finish
34    const run = await client.actor("epctex/trueachievements-scraper").call(input);
35
36    // Fetch and print Actor results from the run's dataset (if any)
37    console.log('Results from dataset');
38    const { items } = await client.dataset(run.defaultDatasetId).listItems();
39    items.forEach((item) => {
40        console.dir(item);
41    });
42})();
Developer
Maintained by Community
Actor metrics
  • 1 monthly users
  • 100.0% runs succeeded
  • Created in Jan 2023
  • Modified about 21 hours ago