0.1.2 • Published 2 years ago
@12build/product-api-ts-axios-sdk v0.1.2
@12build/product-api-ts-axios-sdk
Generated product api client based on axios
Features
- ES6 syntax, managed with Prettier + Eslint
- Typescript
Install
yarn add @12build/product-api-ts-axios-sdk
// or
npm i @12build/product-api-ts-axios-sdk
Requirements
- Axios
Usage
import { ProductsApiFactory } from "@12build/product-api-ts-axios-sdk";
const productApi = new ProductsApiFactory({...options}, 'http://localhost');
await productApi.checkIfProductExists({id: '5571a249-6aed-4867-a89d-560f5354f075'})