example-data.com

restaurants / #83

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/83"
)
restaurant = res.json()
{
  "id": 83,
  "name": "Roob - Fisher",
  "slug": "roob-fisher-83",
  "cuisine": "thai",
  "priceRange": "$",
  "rating": 3.2,
  "ratingCount": 254,
  "countryAlpha2": "MX",
  "city": "Kuhlmanshire",
  "neighborhood": "County Tyrone",
  "address": "71823 Kautzer Forge",
  "phone": "(307) 966-2962",
  "website": "https://roob-fisher-83.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 55.67275,
  "longitude": -8.036464,
  "createdAt": "2026-01-30T23:21:39.710Z",
  "updatedAt": "2026-01-30T23:21:39.710Z"
}
Draftbit