example-data.com

restaurants / #80

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/80"
)
restaurant = res.json()
{
  "id": 80,
  "name": "Heathcote Group",
  "slug": "heathcote-group-80",
  "cuisine": "indian",
  "priceRange": "$$",
  "rating": 4,
  "ratingCount": 2315,
  "countryAlpha2": "CN",
  "city": "New Eduardoboro",
  "neighborhood": "Fife",
  "address": "21277 Oak Street",
  "phone": "(350) 539-0908",
  "website": "https://heathcote-group-80.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -16.293615,
  "longitude": -32.306067,
  "createdAt": "2025-06-12T14:42:39.746Z",
  "updatedAt": "2025-06-12T14:42:39.746Z"
}
Draftbit