example-data.com

restaurants / #7

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/7"
)
restaurant = res.json()
{
  "id": 7,
  "name": "Ortiz, Torp and Howell",
  "slug": "ortiz-torp-and-howell-7",
  "cuisine": "mediterranean",
  "priceRange": "$",
  "rating": 2.9,
  "ratingCount": 744,
  "countryAlpha2": "IN",
  "city": "Fort Devanside",
  "neighborhood": "Logan County",
  "address": "797 Rosemary Hollow",
  "phone": "(895) 368-4482",
  "website": "https://ortiz-torp-and-howell-7.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 37.485158,
  "longitude": 119.14739,
  "createdAt": "2025-08-03T20:39:08.075Z",
  "updatedAt": "2025-08-03T20:39:08.075Z"
}
Draftbit