0.0.7 • Published 2 years ago

shopi v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.1.0

3 years ago