Skip to main content
POST
/
api
/
demaecan
/
shops
/
reviews
/demaecan/shops/reviews
curl --request POST \
  --url https://api.anysite.io/api/demaecan/shops/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "shop": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "DemaecanShopReview",
    "rating": 123,
    "text": "<string>",
    "delivered_at": "<string>",
    "reviewed_at": "<string>",
    "menu_items": [],
    "reply": {
      "@type": "DemaecanReviewReply",
      "text": "<string>",
      "verified_at": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
shop
string
required

Demae-can shop id or a full shop URL

Minimum string length: 1
Examples:

"1003691"

"https://demae-can.com/shop/menu/1003691"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string> | null

Review ordering

Available options:
newest,
rating_desc,
rating_asc

Response

Successful Response

id
string
required
@type
string
default:DemaecanShopReview
rating
integer | null
text
string | null
delivered_at
string | null
reviewed_at
string | null
menu_items
object[]
reply
object