example-data.com

restaurants / #49

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/49"
)
restaurant = res.json()
{
  "id": 49,
  "name": "Bartoletti LLC",
  "slug": "bartoletti-llc-49",
  "cuisine": "french",
  "priceRange": "$$$$",
  "rating": 3.3,
  "ratingCount": 2556,
  "countryAlpha2": "JP",
  "city": "Shannychester",
  "neighborhood": "Mid Glamorgan",
  "address": "57683 Adams Falls",
  "phone": "(761) 899-0431",
  "website": "https://bartoletti-llc-49.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": 15.596188,
  "longitude": 66.49699,
  "createdAt": "2025-12-04T02:00:17.235Z",
  "updatedAt": "2025-12-04T02:00:17.235Z"
}
Draftbit