@pontx/ecb-data-portal
v0.1.3
Published
Type-safe SDK and CLI for the ECB Data Portal SDMX API
Maintainers
Readme
@pontx/ecb-data-portal
Type-safe TypeScript SDK and CLI for the ECB Data Portal SDMX API. The package is generated from the curated Pontx OpenAPI contract and tested against local contract fixtures plus bounded public ECB read requests.
npm install @pontx/ecb-data-portalSDK
import { createEcbDataPortalClient } from "@pontx/ecb-data-portal";
const client = createEcbDataPortalClient();
const result = await client.data.getDataBySeriesKey(
"EXR",
"M.USD.EUR.SP00.A",
{ lastNObservations: 1, format: "jsondata" },
);CLI
pontx-ecb-data-portal show-api data getDataBySeriesKey
pontx-ecb-data-portal call data getDataBySeriesKey \
--flowRef EXR \
--key M.USD.EUR.SP00.A \
--lastNObservations 1 \
--format jsondata \
--dry-runECB data and metadata remain subject to the ECB website reuse terms. This is an independent Pontx client package and is not an official ECB package.
