To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"gpuIncludeRegex": [
"460"
],
"cpuIncludeRegex": [
"2200g"
],
"gpuExcludeRegex": [
"Radeon HD",
"Radeon R\\d+",
"GT\\s+",
"GTS",
"Max-Q",
"GTX \\d{3}",
"mobile",
"GTX 10\\d+",
"Radeon VII",
"RX VEGA",
"TITAN",
"2080"
],
"cpuExcludeRegex": [
"i[3-7].\\d{3}\\w{1}",
"i[3-7]-\\d{3}",
"Ryzen 3 1\\d+",
"Ryzen 5 1\\d+",
"Ryzen 7 1\\d+",
"Threadripper",
"AMD Athlon",
"AMD E2",
"AMD FX",
"AMD Phenom",
"Intel Core2 Duo",
"Intel Core2 Extreme",
"Intel Core2 Quad",
"Intel Pentium",
"i3-2\\d+",
"i5-2\\d+",
"i7-2\\d+",
"i3-3\\d+",
"i5-3\\d+",
"i7-3\\d+",
"i3-4\\d+",
"i5-4\\d+",
"i7-4\\d+",
"i3-5\\d+",
"i5-5\\d+",
"i7-5\\d+",
"i3-6\\d+",
"i5-6\\d+",
"i7-6\\d+",
"i3-7\\d+",
"i5-7\\d+",
"i7-7\\d+"
],
"proxyConfig": {
"useApifyProxy": true
}
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/dtrungtin~gpuchecker-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'