Skip to content

logerzhu/typed-jd-union-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

京东联盟 NodeJS API

根据 京东开放平台API文档 生成的带TypeScript类型定义和注释的SDK

模块状态

  • NPM version

安装

$ npm install typed-jd-union-api

Usage

import {JdUnionAPI} from 'typed-jd-union-api'

async function run() {
  const client = new JdUnionAPI({
    appKey: 'xx',
    secretKey: 'xxx'
  })
  
  const result = await client.queryActivity({
    activityReq: { pageSize: 3 }
  })
  
  console.log(result.totalCount)
}

About

京东联盟 NodeJS API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published