Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including chilexpress with all npm packages installed. Try it out:

const chilexpress = require('chilexpress'); const orderId = '111111111111'; const data = await chilexpress(orderId);

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

chilexpress v3.0.3

Check shipping status in chilexpress

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free