Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typed-jd-union-cpsapi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-jd-union-cpsapi

京东联盟 NodeJS cps API

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
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

FAQs

Package last updated on 28 Mar 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc