example-data.com
Menu
Browse docs and collections

Overview

places / #19

Forest Walk of Ireland

Forest Walk of Ireland

hiking · Dublin · ★ 4.2 (47)

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/places/19" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/places/19"
);
const place = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/places.d.ts https://example-data.com/types/places.d.ts
import type { Place } from "./types/places";

const res = await fetch(
  "https://example-data.com/api/v1/places/19"
);
const place = (await res.json()) as Place;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/places/19"
)
place = res.json()

Response

{
  "id": 19,
  "name": "Forest Walk of Ireland",
  "slug": "forest-walk-of-ireland-19",
  "kind": "hiking",
  "city": "Dublin",
  "countryAlpha2": "IE",
  "latitude": 2.548703,
  "longitude": -117.17606,
  "rating": 4.2,
  "ratingCount": 47,
  "description": "Crudelis apostolus debitis clibanus una cui. Considero xiphias considero voluptatem. Comparo sortitus cupiditas absorbeo eligendi earum subseco.",
  "imageUrl": "https://picsum.photos/seed/place-19/1200/800",
  "createdAt": "2026-04-11T23:17:21.101Z"
}