Javascript client for Cost Management API
This is a client library for RedHatInsights/Cost Management.
Install
NPM
npm install --save @redhat-cloud-services/cost-management-client
Or Yarn
yarn add @redhat-cloud-services/cost-management-client
Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.
import { CostModelApi } from '@redhat-cloud-services/cost-management-client';
const api = new CostModelApi();
const costManagement = await api.getCostModel();