example-data.com

restaurants / #84

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/84"
)
restaurant = res.json()
{
  "id": 84,
  "name": "Price LLC",
  "slug": "price-llc-84",
  "cuisine": "italian",
  "priceRange": "$",
  "rating": 2.9,
  "ratingCount": 556,
  "countryAlpha2": "IS",
  "city": "Aspen Hill",
  "neighborhood": "Greene County",
  "address": "48860 D'Amore Dale",
  "phone": "(396) 369-8295",
  "website": "https://price-llc-84.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 15.809416,
  "longitude": 82.500582,
  "createdAt": "2025-06-24T02:39:48.089Z",
  "updatedAt": "2025-06-24T02:39:48.089Z"
}
Draftbit