Socket
Socket
Sign inDemoInstall

cdek-api

Package Overview
Dependencies
10
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cdek-api

CDEK API For JavaScript


Version published
Maintainers
1
Created

Readme

Source

CDEK API For JavaScript

Important! NOT READY YET!!!1

DO NOT USE ANYWARE

IF YOU GOT AN ERROR I GUESS CDEK IS DOWN AGAIN ...

Install

npm install cdek-api

Importing library

NodeJS

const CdekApi = require('cdek-api/dist/lib/cdek-api.js').default

Browser

import Cdek from 'cdek-api'

Usage

const cdek = new CdekApi(CDEK_ACCOUNT, CDEK_SECURE_PASSWORD)

Promise.resolve().then(async () => {
  const response = await cdek.statusReport({
    _DispatchNumber: '0000000000'
  })
  console.log(response.Order)
}).catch(error => console.error(error))

FAQs

Last updated on 06 Nov 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc