Socket
Book a DemoInstallSign in
Socket

typed-jd-union-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-jd-union-api

京东联盟 NodeJS API

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
2
-60%
Maintainers
1
Weekly downloads
 
Created
Source

京东联盟 NodeJS API

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

模块状态

安装

$ 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)
}

Keywords

TypeScript

FAQs

Package last updated on 02 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.