example-data.com

restaurants / #87

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/87"
)
restaurant = res.json()
{
  "id": 87,
  "name": "Spinka, Runolfsdottir and Brown",
  "slug": "spinka-runolfsdottir-and-brown-87",
  "cuisine": "indian",
  "priceRange": "$$$",
  "rating": 3.1,
  "ratingCount": 1818,
  "countryAlpha2": "GR",
  "city": "Costa Mesa",
  "neighborhood": "Lincolnshire",
  "address": "570 Saul Mountains",
  "phone": "(591) 848-9621",
  "website": "https://spinka-runolfsdottir-and-brown-87.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -17.134796,
  "longitude": 155.044492,
  "createdAt": "2025-08-21T00:54:40.885Z",
  "updatedAt": "2025-08-21T00:54:40.885Z"
}
Draftbit