example-data.com

restaurants / #50

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/50"
)
restaurant = res.json()
{
  "id": 50,
  "name": "Rodriguez, Nicolas and Schneider",
  "slug": "rodriguez-nicolas-and-schneider-50",
  "cuisine": "mediterranean",
  "priceRange": "$$",
  "rating": 4.9,
  "ratingCount": 257,
  "countryAlpha2": "GR",
  "city": "New Anthony",
  "neighborhood": "Scott County",
  "address": "45178 Huels Overpass",
  "phone": "(502) 392-0420",
  "website": "https://rodriguez-nicolas-and-schneider-50.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -42.886461,
  "longitude": -173.766201,
  "createdAt": "2026-01-04T12:56:53.873Z",
  "updatedAt": "2026-01-04T12:56:53.873Z"
}
Draftbit