example-data.com

restaurants / #45

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/45"
)
restaurant = res.json()
{
  "id": 45,
  "name": "Simonis - Kshlerin",
  "slug": "simonis-kshlerin-45",
  "cuisine": "thai",
  "priceRange": "$",
  "rating": 2.8,
  "ratingCount": 488,
  "countryAlpha2": "PH",
  "city": "Stanleybury",
  "neighborhood": "Washington County",
  "address": "7540 Dagmar Fall",
  "phone": "(909) 341-3162",
  "website": "https://simonis-kshlerin-45.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -35.548984,
  "longitude": -3.686326,
  "createdAt": "2025-06-09T13:02:33.410Z",
  "updatedAt": "2025-06-09T13:02:33.410Z"
}
Draftbit