example-data.com

restaurants / #41

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/41"
)
restaurant = res.json()
{
  "id": 41,
  "name": "Franey, Volkman and Kutch",
  "slug": "franey-volkman-and-kutch-41",
  "cuisine": "mexican",
  "priceRange": "$$$$",
  "rating": 3.5,
  "ratingCount": 2767,
  "countryAlpha2": "CA",
  "city": "Piercecester",
  "neighborhood": "Berkshire",
  "address": "2392 Okuneva Shores",
  "phone": "(598) 315-9671",
  "website": "https://franey-volkman-and-kutch-41.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -8.685705,
  "longitude": 176.600783,
  "createdAt": "2025-08-20T13:18:35.421Z",
  "updatedAt": "2025-08-20T13:18:35.421Z"
}
Draftbit