-
Notifications
You must be signed in to change notification settings - Fork 0
CT Local Eatouts Search City
SoumyaSian edited this page Jan 2, 2018
·
4 revisions
search_city
KEYWORD | DESCRIPTION |
---|---|
CITY_NAME | City string |
{
"city": "$CITY_NAME"
}
KEY | DESCRIPTION |
---|---|
ttd | Contains True/False based on availability in the corresponding city |
fnb | Contains True/False based on availability in the corresponding city |
[
"CITY_NAME": {
"ttd": $TTD,
"count": $COUNT,
"fnb": $FNB
},
...
]
Some error messages, you might get an invalid search request. The HTTP response code, in this case, will be 400.
Status | Error message | Description |
---|---|---|
400 | There are no cities found | If search results are empty |