Parisian and Sons
japanese · New Timmothy · $ · ★ 3.9 (2382)
35633 Stroman Well
- Phone
- +1 202-555-0169 ext 1
Overview
restaurants / #70
japanese · New Timmothy · $ · ★ 3.9 (2382)
35633 Stroman Well
Request
curl example
curl -sS \ "https://example-data.com/api/v1/restaurants/70" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/restaurants/70" ); 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/70"
);
const restaurant = (await res.json()) as Restaurant; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/restaurants/70"
)
restaurant = res.json() Response
{
"id": 70,
"name": "Parisian and Sons",
"slug": "parisian-and-sons-70",
"cuisine": "japanese",
"priceRange": "$",
"rating": 3.9,
"ratingCount": 2382,
"countryAlpha2": "NZ",
"city": "New Timmothy",
"neighborhood": "Bedfordshire",
"address": "35633 Stroman Well",
"phone": "+1 202-555-0169 ext 1",
"website": "https://parisian-and-sons-70.example.com",
"hasDelivery": true,
"isOpen": true,
"latitude": -41.898474,
"longitude": -29.950085,
"createdAt": "2024-12-11T13:52:14.997Z",
"updatedAt": "2024-12-11T13:52:14.997Z"
}