0.1.3 • Published 6 years ago

pickpoint v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 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

6 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago