example-data.com

restaurants / #29

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/29"
)
restaurant = res.json()
{
  "id": 29,
  "name": "Trantow - Jerde",
  "slug": "trantow-jerde-29",
  "cuisine": "thai",
  "priceRange": "$$",
  "rating": 2.7,
  "ratingCount": 830,
  "countryAlpha2": "SA",
  "city": "Zaneberg",
  "neighborhood": "South Yorkshire",
  "address": "8553 N Locust Street",
  "phone": "(791) 746-2662",
  "website": "https://trantow-jerde-29.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": 50.091935,
  "longitude": 105.109008,
  "createdAt": "2026-01-20T14:25:50.685Z",
  "updatedAt": "2026-01-20T14:25:50.685Z"
}
Draftbit