gas-integrations
v0.2.7
Published
Module to simplify the integration of the marketplaces API into Google Apps Script.
Downloads
1,274
Readme
Google Apps Script API integrations.
Integrated APIs:
- Wildberries seller API (incomplete)
Installation
npm install gas-integrations --save-dev
Also you must configure clasp
for TypeScript (see in official docs) and esmodules (see in official docs)
Usage
Import classes you need:
import { Wildberries } from "gas-integrations";
Create instance:
const wb = new Wildberries('your_jwt');
Use methods of API (e.g. "https://seller-analytics-api.wildberries.ru/api/v2/nm-report/detail"):
const responce = wb.analytics.pcStatistics(payload)