Guinea Pig
other · South America
curl -sS \
"https://example-data.com/api/v1/pet-breeds/77" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pet-breeds/77"
);
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/77"
);
const petBreed = (await res.json()) as PetBreed;import requests
res = requests.get(
"https://example-data.com/api/v1/pet-breeds/77"
)
pet_breed = res.json() {
"id": 77,
"name": "Guinea Pig",
"slug": "guinea-pig",
"species": "other",
"origin": "South America",
"temperament": [
"Gentle",
"Social",
"Vocal"
],
"lifeExpectancyYears": 6,
"isHypoallergenic": false,
"createdAt": "2025-05-13T14:30:08.211Z"
}