chilexpress
Version:
Check shipping status in chilexpress
54 lines (43 loc) • 1.64 kB
Markdown
# chilexpress
[](https://www.npmjs.com/package/chilexpress)
[](https://www.npmjs.com/package/chilexpress)
[](https://travis-ci.org/lgaticaq/chilexpress)
[](https://codeclimate.com/github/lgaticaq/chilexpress/maintainability)
[](https://david-dm.org/lgaticaq/chilexpress#info=dependencies)
[](https://david-dm.org/lgaticaq/chilexpress#info=devDependencies)
> Check shipping status in chilexpress
## Installation
```bash
npm i -S chilexpress
```
## Use
[Try on Tonic](https://tonicdev.com/npm/chilexpress)
```js
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](https://tldrlegal.com/license/mit-license)