3.1.4 • Published 1 year ago
@kamiya4047/exptech-api-wrapper v3.1.4
ExpTech API Wrapper
Installation
npm install @kamiya4047/exptech-api-wrapper
Usage
API documentation can be found here.
You can use default exported instance
// with CJS require
const ExpTech = require("@kamiya4047/exptech-api-wrapper").default;
await ExpTech.getReportList();
// with ESM import
import ExpTech from "@kamiya4047/exptech-api-wrapper";
await ExpTech.getReportList();
or create an instance with ExpTechApi class
// with CJS require
const { ExpTechApi } = require("@kamiya4047/exptech-api-wrapper");
const api = new ExpTechApi(/* YOUR API KEY HERE */);
// with ESM import
import { ExpTechApi } from "@kamiya4047/exptech-api-wrapper";
const api = new ExpTechApi(/* YOUR API KEY HERE */);
Example
getReportList
import ExpTech from "@kamiya4047/exptech-api-wrapper";
(async () => {
console.log(await ExpTech.getReportList(10));
})();