example-data.com

restaurants / #34

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/restaurants/34" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/restaurants/34"
);
const restaurant = await res.json();
import type { Restaurant } from "https://example-data.com/types/restaurants.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/restaurants/34"
);
const restaurant = (await res.json()) as Restaurant;
import requests

res = requests.get(
    "https://example-data.com/api/v1/restaurants/34"
)
restaurant = res.json()
{
  "id": 34,
  "name": "D'Amore, Quitzon and Satterfield",
  "slug": "d-amore-quitzon-and-satterfield-34",
  "cuisine": "american",
  "priceRange": "$$$",
  "rating": 4.6,
  "ratingCount": 2873,
  "countryAlpha2": "CN",
  "city": "Bruenberg",
  "neighborhood": "Lee County",
  "address": "487 Adan Shores",
  "phone": "(964) 836-8535",
  "website": "https://d-amore-quitzon-and-satterfield-34.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -42.171115,
  "longitude": -24.131715,
  "createdAt": "2026-04-08T09:06:42.783Z",
  "updatedAt": "2026-04-08T09:06:42.783Z"
}
Draftbit