curl --request POST \
--url https://api.captaindata.com/v4/actions/tripadvisor-extract-restaurant/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"input": {
"tripadvisor_restaurant_url": "<string>",
"custom_data": {}
}
}'
{
"name": "<string>",
"grade": 123,
"price_range": "<string>",
"categories": [
"<string>"
],
"number_reviews": 123,
"awards": [
"<string>"
],
"breakdown_grade": {
"atmosphere": 123,
"food": 123,
"service": 123,
"value": 123
},
"website": "<string>",
"email": "jsmith@example.com",
"address": "<string>",
"description": "<string>",
"phone": "<string>",
"details": [
"<string>"
],
"property_url": "<string>",
"open_hours": {
"mon": [
{
"open_time": "<string>",
"close_time": "<string>"
}
]
}
}
curl --request POST \
--url https://api.captaindata.com/v4/actions/tripadvisor-extract-restaurant/run/live \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"input": {
"tripadvisor_restaurant_url": "<string>",
"custom_data": {}
}
}'
{
"name": "<string>",
"grade": 123,
"price_range": "<string>",
"categories": [
"<string>"
],
"number_reviews": 123,
"awards": [
"<string>"
],
"breakdown_grade": {
"atmosphere": 123,
"food": 123,
"service": 123,
"value": 123
},
"website": "<string>",
"email": "jsmith@example.com",
"address": "<string>",
"description": "<string>",
"phone": "<string>",
"details": [
"<string>"
],
"property_url": "<string>",
"open_hours": {
"mon": [
{
"open_time": "<string>",
"close_time": "<string>"
}
]
}
}
Successful response
The response is of type object
.