Hills Group
american · North Jaylincester · $$ · ★ 2.5 (2251)
93751 Beechwood Avenue
- Phone
- +1 202-555-0163 ext 1
Overview
restaurants / #64
american · North Jaylincester · $$ · ★ 2.5 (2251)
93751 Beechwood Avenue
Request
curl example
curl -sS \ "https://example-data.com/api/v1/restaurants/64" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/restaurants/64" ); const restaurant = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/restaurants.d.ts https://example-data.com/types/restaurants.d.ts
import type { Restaurant } from "./types/restaurants";
const res = await fetch(
"https://example-data.com/api/v1/restaurants/64"
);
const restaurant = (await res.json()) as Restaurant; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/restaurants/64"
)
restaurant = res.json() Response
{
"id": 64,
"name": "Hills Group",
"slug": "hills-group-64",
"cuisine": "american",
"priceRange": "$$",
"rating": 2.5,
"ratingCount": 2251,
"countryAlpha2": "FJ",
"city": "North Jaylincester",
"neighborhood": "Clay County",
"address": "93751 Beechwood Avenue",
"phone": "+1 202-555-0163 ext 1",
"website": "https://hills-group-64.example.com",
"hasDelivery": true,
"isOpen": true,
"latitude": 50.566748,
"longitude": -130.325217,
"createdAt": "2024-07-19T01:43:20.472Z",
"updatedAt": "2024-07-19T01:43:20.472Z"
}