dpd-parcel-service-pl

Meteor package to communicate with DPD Poland API

Usage no npm install needed!

<script type="module">
  import dpdParcelServicePl from 'https://cdn.skypack.dev/dpd-parcel-service-pl';
</script>

README

Polish DPD Parcell Service API Wrapper

Installation

meteor add jaaaco:dpd-parcel-service-pl

Basic usage


var dpd = new DPD(login,password,fid,testmode); // testmode is default = true

dpd.call('findPostalCodeV1',{
    postalCodeV1: {
        countryCode: 'PL',
        zipCode: '51166'
    }
},function(err, result){
    if (err) {
        console.log('Error', err);
    } else {
        console.log('findPostalCodeV1', result);
    }
});

Examples

Check out testApp/server/methods.js for more