$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "source_datasetIds": [],
< "source_scrapedDataJson": [
< {
< "title": "Sample Pizza Place",
< "categoryName": "Pizza restaurant",
< "totalScore": 4.2,
< "reviewsCount": 127,
< "phone": "+1-512-555-0199",
< "website": "https://example.com",
< "address": "456 Congress Ave, Austin, TX 78701",
< "placeId": "ChIJExample123"
< }
< ],
< "fields_presets": [],
< "filters_minReviews": 0,
< "filters_categoriesInclude": [],
< "filters_cities": [],
< "output_formats": [
< "csv"
< ],
< "output_fileName": "google-maps-leads",
< "delta_baselineDatasetId": ""
<}
<EOF
$curl "https://api.apify.com/v2/actors/vasram~google-maps-results-converter/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'