$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": "grill",
< "searchLocation": "Los Angeles",
< "endPageForPhotos": 1,
< "reviewSort": "relevance_desc",
< "startUrls": [
< "https://www.yelp.com/biz/maxs-restaurant-glendale-glendale-3",
< "https://www.yelp.com/search?find_desc=max&find_loc=Los+Angeles%2C+CA",
< "https://www.yelp.com/collection/qGqt9YpsLBCH5nruuVCK2A/Food",
< "https://www.yelp.com/collections/user?userid=a_UbCGv_MTAHFs3P_zxUDA",
< "https://www.yelp.com/events/la/browse?start_date=20230215",
< "https://www.yelp.com/events/monterey-park-monterey-park-strong-star-ballroom-shooting-community-resources"
< ],
< "maxItems": 20,
< "endPage": 1,
< "startPageForReviews": 1,
< "endPageForReviews": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~yelp-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'