$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "businesses": [
< {
< "name": "Barbería La Estación",
< "category": "Barbería",
< "address": "Av. Triunvirato 4500, Villa Urquiza, CABA",
< "city": "Buenos Aires",
< "country": "AR",
< "phone": "011 4521-0000",
< "rating": 4.9,
< "reviewsCount": 151,
< "reviews": [
< {
< "author": "Martín G.",
< "text": "Excelente atención, siempre salgo conforme.",
< "stars": 5
< },
< {
< "author": "Lucas P.",
< "text": "Puntuales y prolijos. El mejor fade del barrio.",
< "stars": 5
< }
< ],
< "photos": [],
< "hours": [
< {
< "day": "Tuesday",
< "hours": "10:00 to 20:00"
< },
< {
< "day": "Saturday",
< "hours": "10:00 to 18:00"
< }
< ]
< }
< ],
< "agencyName": "Your Agency"
<}
<EOF
$curl "https://api.apify.com/v2/actors/sebastian_elustondo~local-business-demo-site-generator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'