currencies
currencies
Page 3 of 3.
Ghanaian Cedi
GHS
Ugandan Shilling
UGX
curl -sS \
"https://example-data.com/api/v1/currencies?limit=25"const res = await fetch(
"https://example-data.com/api/v1/currencies?limit=25"
);
const { data, meta } = await res.json();import type { Currencie, ListEnvelope } from "https://example-data.com/types/currencies.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/currencies?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Currencie>;import requests
res = requests.get(
"https://example-data.com/api/v1/currencies",
params={"limit": 25},
)
data = res.json() {
"data": [
{
"id": 49,
"code": "GHS",
"name": "Ghanaian Cedi",
"symbol": "GH₵",
"decimalDigits": 2
},
{
"id": 50,
"code": "UGX",
"name": "Ugandan Shilling",
"symbol": "USh",
"decimalDigits": 0
}
],
"meta": {
"page": 3,
"limit": 24,
"total": 50,
"totalPages": 3
},
"links": {
"self": "/api/v1/currencies?page=3",
"next": null,
"prev": "/api/v1/currencies?page=2"
}
}