example-data.com

restaurants / #35

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/35"
)
restaurant = res.json()
{
  "id": 35,
  "name": "Larson Group",
  "slug": "larson-group-35",
  "cuisine": "ethiopian",
  "priceRange": "$$$$",
  "rating": 2.9,
  "ratingCount": 2553,
  "countryAlpha2": "CN",
  "city": "Lehnerville",
  "neighborhood": "Mid Glamorgan",
  "address": "66968 Tyrese Club",
  "phone": "(951) 240-9614",
  "website": "https://larson-group-35.example.com",
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -11.171933,
  "longitude": 98.32577,
  "createdAt": "2025-09-15T09:58:41.879Z",
  "updatedAt": "2025-09-15T09:58:41.879Z"
}
Draftbit