example-data.com

restaurants / #8

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/8"
)
restaurant = res.json()
{
  "id": 8,
  "name": "Halvorson - Olson",
  "slug": "halvorson-olson-8",
  "cuisine": "japanese",
  "priceRange": "$$$$",
  "rating": 3.7,
  "ratingCount": 919,
  "countryAlpha2": "AU",
  "city": "Lake Angeloton",
  "neighborhood": "South Glamorgan",
  "address": "5246 Gusikowski Park",
  "phone": "(814) 765-4129",
  "website": "https://halvorson-olson-8.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 49.297595,
  "longitude": -7.560511,
  "createdAt": "2026-01-17T06:55:29.329Z",
  "updatedAt": "2026-01-17T06:55:29.329Z"
}
Draftbit