0.1.3 • Published 7 years ago

pickpoint v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

pickpoint

This is a client library for Pickpoint API.

Install

npm install pickpoint --save

Usage:

Simple example

const Pickpoint = require('pickpoint');
const api = new Pickpoint(
    'apitest', // login
    'apitest', // password
    {
        test: true, // it will set API url to http://e-solution.pickpoint.ru/apitest/
        session: {
            lifetime: 3600 // how often call login
        },
        timeout: 60 // API timeout
    }
);

api.getCities()
    .then(console.log)
    .catch(console.error);

Available methods

  • logout
  • createParcelsRegistry
  • createParcelsRegistryMulti
  • createParcelReturn
  • getReturnInvoiceList
  • getParcelHistory
  • getParcel
  • getParcelDeliveryCost
  • callCourier
  • cancelCourier
  • createRegistryPDF
  • createRegistry
  • getRegistry
  • getRegistryByParcelNumber
  • createLabels
  • createZLabels
  • getCities
  • getPostamatList
  • getZones
  • getReturnDocuments

Full description of API parameters you can see in Pickpoint integration docs.

0.1.3

7 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago