0.0.8 • Published 1 year ago
jurnal-client v0.0.8
jurnal-client
An API wrapper for Jurnal's API.
Installation
- Install the package via npm
npm install --save jurnal-client
- Import the package
const JurnalClient = require('jurnal-client');
- Define the client keys
let jurnalKeyData = { _apiKey: '<YOUR_API_KEY>', _accessToken: '<YOUR_ACCESS_TOKEN>', };
Use the method that you need (see below for more details)
import {ProductCategoryGetAll} from 'jurnal-client'; try { const res = await ProductCategoryGetAll(jurnalKeyData); console.log(res); } catch (err) { console.log(err); }