0.2.0 • Published 3 years ago

@sunrise-records/zeckoshop-api v0.2.0

Weekly downloads
3
License
MIT
Repository
-
Last release
3 years ago

ZeckoShop API

Install

npm i @sunrise/zeckoshop-api

Usage

const ZeckoShopApi = require('@sunrise-records/zeckoshop-api');

const main = async () => {
    const zeckoShop = new ZeckoShopApi('https://www.example.com/');
    await zeckoShop.admin.login({
        username,
        password,
    });
    const orders = await zeckoShop.admin.reporting.orders();
    console.log(orders);
})

main();

API

admin

login( { username, password })

reporting

orders()