Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.
/ shopi Public archive

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

License

Notifications You must be signed in to change notification settings

LongYC/shopi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published