example-data.com

pet-breeds / #75

Sugar Glider

other · Australia

Component variants

curl -sS \
  "https://example-data.com/api/v1/pet-breeds/75" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/pet-breeds/75"
);
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/75"
);
const petBreed = (await res.json()) as PetBreed;
import requests

res = requests.get(
    "https://example-data.com/api/v1/pet-breeds/75"
)
pet_breed = res.json()
{
  "id": 75,
  "name": "Sugar Glider",
  "slug": "sugar-glider",
  "species": "other",
  "origin": "Australia",
  "temperament": [
    "Social",
    "Active",
    "Affectionate"
  ],
  "lifeExpectancyYears": 12,
  "isHypoallergenic": false,
  "createdAt": "2024-06-16T11:28:22.853Z"
}
Draftbit