restaurant-photos
restaurant-photos
Page 11 of 24.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/restaurant-photos?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/restaurant-photos?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/restaurant-photos.d.ts https://example-data.com/types/restaurant-photos.d.ts
import type { RestaurantPhoto, ListEnvelope } from "./types/restaurant-photos";
const res = await fetch(
"https://example-data.com/api/v1/restaurant-photos?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<RestaurantPhoto>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/restaurant-photos",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 241,
"restaurantId": 43,
"url": "https://picsum.photos/seed/restaurant-43-2/1200/800",
"alt": "Brown - Johnson interior photo 3",
"caption": "Deripio pariatur causa adhuc audio.",
"isPrimary": false,
"createdAt": "2025-08-29T05:40:02.038Z"
},
{
"id": 242,
"restaurantId": 43,
"url": "https://picsum.photos/seed/restaurant-43-3/1200/800",
"alt": "Brown - Johnson interior photo 4",
"caption": "Comminor adipiscor vero tui conitor considero dolore constans.",
"isPrimary": false,
"createdAt": "2024-11-26T00:21:48.624Z"
},
{
"id": 243,
"restaurantId": 44,
"url": "https://picsum.photos/seed/restaurant-44-0/1200/800",
"alt": "Gulgowski, Terry and Funk interior photo 1",
"caption": "Vigilo comedo alo sollicito labore venustas crastinus accommodo comprehendo tripudio.",
"isPrimary": true,
"createdAt": "2025-11-12T19:03:33.360Z"
}
],
"meta": {
"page": 11,
"limit": 24,
"total": 555,
"totalPages": 24
},
"links": {
"self": "/api/v1/restaurant-photos?page=11&limit=24",
"first": "/api/v1/restaurant-photos?page=1&limit=24",
"last": "/api/v1/restaurant-photos?page=24&limit=24",
"next": "/api/v1/restaurant-photos?page=12&limit=24",
"prev": "/api/v1/restaurant-photos?page=10&limit=24"
}
}