$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< "https://www.kickstarter.com/projects/1460250988/darkest-dungeon-by-red-hook-studios",
< "https://www.kickstarter.com/discover/categories/games/tabletop%20games",
< "https://www.kickstarter.com/discover/places/seattle-wa",
< "https://www.kickstarter.com/profile/alleycatgames",
< "https://www.kickstarter.com/discover/advanced?term=board+games&category_id=12&pledged=1&goal=1&sort=newest&seed=2832283&next_page_cursor=&page=1"
< ],
< "query": "Gadgets",
< "maxResults": 10,
< "category": "All",
< "location": "United States",
< "sort": "newest",
< "customMapFunction": "(object) => { return {...object} }",
< "proxyConfig": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~kickstarter-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'