example-data.com

restaurants / #79

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/79"
)
restaurant = res.json()
{
  "id": 79,
  "name": "Howe, Kunde and Ortiz",
  "slug": "howe-kunde-and-ortiz-79",
  "cuisine": "italian",
  "priceRange": "$$$$",
  "rating": 4.9,
  "ratingCount": 2355,
  "countryAlpha2": "SE",
  "city": "Rosemead",
  "neighborhood": "Cambridgeshire",
  "address": "5615 Wood Lane",
  "phone": "(681) 477-2631",
  "website": "https://howe-kunde-and-ortiz-79.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -54.032912,
  "longitude": -118.539647,
  "createdAt": "2025-10-15T13:54:07.992Z",
  "updatedAt": "2025-10-15T13:54:07.992Z"
}
Draftbit