$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "browse",
< "queries": [
< "horror"
< ],
< "creators": [
< "gbpatch"
< ],
< "jams": [
< "gmtk-2024"
< ],
< "urls": [
< "https://itch.io/games/top-rated/genre-puzzle",
< "https://itch.io/games/genre-puzzle?page=2",
< "https://itch.io/games/tag-horror",
< "https://itch.io/games/genre-puzzle/tag-pixel-art",
< "https://itch.io/games/free",
< "https://itch.io/games/platform-web",
< "https://itch.io/games/in-jam",
< "https://itch.io/games/new-and-popular",
< "https://itch.io/games/newest/genre-puzzle",
< "https://itch.io/search?q=horror",
< "https://gbpatch.itch.io/our-life",
< "https://gbpatch.itch.io/our-life/comments",
< "https://gbpatch.itch.io/our-life/devlog",
< "https://gbpatch.itch.io/",
< "https://itch.io/profile/gbpatch",
< "https://itch.io/jam/gmtk-2024",
< "https://itch.io/jam/gmtk-2024/results",
< "https://itch.io/jam/gmtk-2024/entries",
< "https://itch.io/jams",
< "https://itch.io/jams/past"
< ],
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~itch-io-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'