chilexpress

3.0.4 • Public • Published

chilexpress

npm version npm downloads Build Status Maintainability dependency Status devDependency Status

Check shipping status in chilexpress

Installation

npm i -S chilexpress

Use

Try on Tonic

import chilexpress from 'chilexpress';

const orderId = '111111111111';

chilexpress(orderId).then(console.log);
/*
{
  status: 'En Proceso De Despacho',
  delivery: {
    name: 'XXX XXX',
    rut: '0',
    date: Mon Dec 28 2015 11:31:00 GMT+0000 (UTC),
    signature: ''
  },
  history: [
    {
      date: Mon Dec 28 2015 11:31:00 GMT+0000 (UTC),
      activity: 'En Proceso De Despacho'
    }
  ],
  shipping: {
    product: 'Encomienda',
    service: 'Dia Habil Siguiente',
    date: Mon Dec 28 2015 11:31:00 GMT+0000 (UTC)
  }
}
*/

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i chilexpress

Weekly Downloads

2

Version

3.0.4

License

MIT

Unpacked Size

20.8 kB

Total Files

11

Last publish

Collaborators

  • lgatica