example-data.com

currencies / #49

Ghanaian Cedi

GHS

Component variants

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

const res = await fetch(
  "https://example-data.com/api/v1/currencies/49"
);
const currencie = (await res.json()) as Currencie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/currencies/49"
)
currencie = res.json()
{
  "id": 49,
  "code": "GHS",
  "name": "Ghanaian Cedi",
  "symbol": "GH₵",
  "decimalDigits": 2
}
Draftbit