example-data.com

restaurants / #55

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/55"
)
restaurant = res.json()
{
  "id": 55,
  "name": "Koelpin - Lueilwitz",
  "slug": "koelpin-lueilwitz-55",
  "cuisine": "chinese",
  "priceRange": "$$$",
  "rating": 2.7,
  "ratingCount": 1522,
  "countryAlpha2": "PK",
  "city": "Salem",
  "neighborhood": "Surrey",
  "address": "88477 Felicity Glens",
  "phone": "(887) 967-1907",
  "website": "https://koelpin-lueilwitz-55.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 44.257564,
  "longitude": -178.691771,
  "createdAt": "2025-07-15T19:48:20.584Z",
  "updatedAt": "2025-07-15T19:48:20.584Z"
}
Draftbit