@pontx/open-exchange-rates
v0.1.1
Published
Type-safe Open Exchange Rates API SDK and CLI generated from the product-owned PontxSpec
Maintainers
Readme
@pontx/open-exchange-rates
Type-safe Open Exchange Rates API SDK and CLI generated from the exact product-owned PontxSpec.
Install
pnpm add @pontx/open-exchange-ratesSDK
import { createOpenExchangeRatesClient } from "@pontx/open-exchange-rates";
const client = createOpenExchangeRatesClient({
appId: process.env.PONTX_OPEN_EXCHANGE_RATES_APP_ID,
});
const currencies = await client.listCurrencies({});CLI
pnpm add --global @pontx/open-exchange-rates
pontx-open-exchange-rates list apis
pontx-open-exchange-rates call listCurrencies --dry-runTerms
This package makes caller-directed requests only. Provide your own Open
Exchange Rates App ID through PONTX_OPEN_EXCHANGE_RATES_APP_ID or the client
factory; the value is added only when a request executes. Provider terms
restrict reproducing, reselling, or providing its data without a licence.
Pontx Hub does not proxy, cache, persist, or display supplier responses.
