Skip to main content
POST
/
api
/
gurunavi
/
restaurants
/
photos
/gurunavi/restaurants/photos
curl --request POST \
  --url https://api.anysite.io/api/gurunavi/restaurants/photos \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "restaurant": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "image": "<string>",
    "@type": "GurunaviPhoto",
    "thumbnail": "<string>",
    "caption": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
restaurant
string
required

Gurunavi restaurant id (e.g. 'g720500') or a full restaurant URL

Minimum string length: 1
Examples:

"g720500"

"https://r.gnavi.co.jp/g720500/"

count
integer
required

Max number of photos to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

image
string
required
@type
string
default:GurunaviPhoto
thumbnail
string | null
caption
string | null