example-data.com

restaurants / #90

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/90"
)
restaurant = res.json()
{
  "id": 90,
  "name": "Kertzmann - Boyer",
  "slug": "kertzmann-boyer-90",
  "cuisine": "thai",
  "priceRange": "$$$$",
  "rating": 4.1,
  "ratingCount": 2778,
  "countryAlpha2": "BE",
  "city": "Chicago",
  "neighborhood": "Rutland",
  "address": "6003 Depot Street",
  "phone": "(759) 261-0016",
  "website": "https://kertzmann-boyer-90.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 6.987102,
  "longitude": 8.399466,
  "createdAt": "2025-12-18T06:11:51.585Z",
  "updatedAt": "2025-12-18T06:11:51.585Z"
}
Draftbit