example-data.com

restaurants / #28

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/28"
)
restaurant = res.json()
{
  "id": 28,
  "name": "Lesch - Stehr",
  "slug": "lesch-stehr-28",
  "cuisine": "american",
  "priceRange": "$",
  "rating": 4.3,
  "ratingCount": 2305,
  "countryAlpha2": "NO",
  "city": "New Winona",
  "neighborhood": "Montgomery County",
  "address": "585 W 2nd Street",
  "phone": "(522) 497-7399",
  "website": "https://lesch-stehr-28.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -2.95795,
  "longitude": 173.12856,
  "createdAt": "2025-12-05T11:02:19.130Z",
  "updatedAt": "2025-12-05T11:02:19.130Z"
}
Draftbit