African Grey Parrot
bird · Central Africa
pet-breeds / #58
bird · Central Africa
curl -sS \
"https://example-data.com/api/v1/pet-breeds/58" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pet-breeds/58"
);
const petBreed = await res.json();import type { PetBreed } from "https://example-data.com/types/pet-breeds.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/pet-breeds/58"
);
const petBreed = (await res.json()) as PetBreed;import requests
res = requests.get(
"https://example-data.com/api/v1/pet-breeds/58"
)
pet_breed = res.json() {
"id": 58,
"name": "African Grey Parrot",
"slug": "african-grey-parrot",
"species": "bird",
"origin": "Central Africa",
"temperament": [
"Intelligent",
"Affectionate",
"Sensitive"
],
"lifeExpectancyYears": 40,
"isHypoallergenic": false,
"createdAt": "2025-05-01T07:02:37.704Z"
}