example-data.com

restaurants / #60

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/60"
)
restaurant = res.json()
{
  "id": 60,
  "name": "King - Aufderhar",
  "slug": "king-aufderhar-60",
  "cuisine": "american",
  "priceRange": "$",
  "rating": 4.8,
  "ratingCount": 2218,
  "countryAlpha2": "AT",
  "city": "Barnstable Town",
  "neighborhood": "Lincoln County",
  "address": "89706 Vella Square",
  "phone": "(325) 202-9622",
  "website": "https://king-aufderhar-60.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -24.951094,
  "longitude": 107.375757,
  "createdAt": "2026-01-05T10:20:12.650Z",
  "updatedAt": "2026-01-05T10:20:12.650Z"
}
Draftbit