example-data.com

restaurants / #56

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/restaurants/56" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/restaurants/56"
);
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/56"
);
const restaurant = (await res.json()) as Restaurant;
import requests

res = requests.get(
    "https://example-data.com/api/v1/restaurants/56"
)
restaurant = res.json()
{
  "id": 56,
  "name": "Murazik - Goodwin",
  "slug": "murazik-goodwin-56",
  "cuisine": "italian",
  "priceRange": "$$$",
  "rating": 3.2,
  "ratingCount": 2289,
  "countryAlpha2": "SA",
  "city": "Haneborough",
  "neighborhood": "Cheshire",
  "address": "63703 Park View",
  "phone": "(546) 406-6856",
  "website": "https://murazik-goodwin-56.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 57.708975,
  "longitude": -28.014327,
  "createdAt": "2026-01-01T11:05:01.771Z",
  "updatedAt": "2026-01-01T11:05:01.771Z"
}
Draftbit