example-data.com

restaurants / #61

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/61"
)
restaurant = res.json()
{
  "id": 61,
  "name": "Gleichner - Kunde",
  "slug": "gleichner-kunde-61",
  "cuisine": "french",
  "priceRange": "$",
  "rating": 4.9,
  "ratingCount": 2791,
  "countryAlpha2": "NG",
  "city": "New Itzel",
  "neighborhood": "County Antrim",
  "address": "370 Nathen Crossroad",
  "phone": "(525) 579-5644",
  "website": "https://gleichner-kunde-61.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 33.07854,
  "longitude": 96.896555,
  "createdAt": "2025-06-26T07:32:27.420Z",
  "updatedAt": "2025-06-26T07:32:27.420Z"
}
Draftbit