example-data.com

countries / #35

Philippines

PH

Capital: Manila · Region: Asia

Component variants

curl -sS \
  "https://example-data.com/api/v1/countries/35" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/countries/35"
);
const countrie = await res.json();
import type { Countrie } from "https://example-data.com/types/countries.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/countries/35"
);
const countrie = (await res.json()) as Countrie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/countries/35"
)
countrie = res.json()
{
  "id": 35,
  "name": "Philippines",
  "alpha2": "PH",
  "alpha3": "PHL",
  "numericCode": "608",
  "capital": "Manila",
  "region": "Asia",
  "subregion": "South-eastern Asia",
  "currencyCode": "PHP",
  "callingCode": "+63",
  "flagEmoji": "🇵🇭"
}
Draftbit