0.0.7 • Published 3 years ago

shopi v0.0.7

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

shopi

A collection of common functions for working with Shopee API in Node.js environment.

Install

$ npm install shopi

Usage

generateShopAuthUrl

import {generateShopAuthUrl} from 'shopi';
const shopAuthUrl = generateShopAuthUrl(partnerId, partnerKey, redirectUrl, isTest);

isTest

Type: boolean\ Default: false

Set to true to generate shop authorisation URL for test environment.

generateSignature

import {generateSignature} from 'shopi';
const signature = generateSignature(partnerKey, signatureBaseString);

Development

To build: $ npm run build

To publish: $ npm version && npm publish

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.1.0

4 years ago