example-data.com

restaurants / #20

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/20"
)
restaurant = res.json()
{
  "id": 20,
  "name": "Hickle, Glover and Christiansen",
  "slug": "hickle-glover-and-christiansen-20",
  "cuisine": "mexican",
  "priceRange": "$",
  "rating": 3.7,
  "ratingCount": 2393,
  "countryAlpha2": "AR",
  "city": "Zulauffurt",
  "neighborhood": "Nottinghamshire",
  "address": "854 Harrison Street",
  "phone": "(638) 443-5984",
  "website": "https://hickle-glover-and-christiansen-20.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -25.566834,
  "longitude": -77.729119,
  "createdAt": "2026-01-31T20:19:54.372Z",
  "updatedAt": "2026-01-31T20:19:54.372Z"
}
Draftbit