Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tkovs/encomendas-correios
Rastreio de encomendas transportadas pelos Correios
https://github.com/tkovs/encomendas-correios
Last synced: 4 days ago
JSON representation
Rastreio de encomendas transportadas pelos Correios
- Host: GitHub
- URL: https://github.com/tkovs/encomendas-correios
- Owner: tkovs
- Created: 2020-03-21T06:42:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T07:17:07.000Z (almost 2 years ago)
- Last Synced: 2023-12-26T22:08:08.399Z (12 months ago)
- Language: TypeScript
- Size: 819 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
### Encomendas Correios
API de rastreio de encomendas do Correios
### Examples
```js
import { track } from 'encomendas-correios'track('PW086958114BR')
.then(data => console.log({ data }))
``````js
{
data: [
{
status: 'Objeto entregue ao destinatário',
datetime: {
date: {
day: '04',
month: '02',
year: '2020'
},
time: {
hour: '16',
minute: '37'
}
},
locale: {
place: 'CEE CENTRO',
city: 'Rio De Janeiro',
state: 'RJ'
}
},
{
status: 'Objeto saiu para entrega ao destinatário',
datetime: {
date: {
day: '04',
month: '02',
year: '2020'
},
time: {
hour: '11',
minute: '38'
}
},
locale: {
place: 'CEE CENTRO',
city: 'Rio De Janeiro',
state: 'RJ'
}
},
{
status: 'Objeto encaminhado ',
datetime: {
date: {
day: '02',
month: '02',
year: '2020'
},
time: {
hour: '09',
minute: '51'
}
},
from: {
place: 'CTE BENFICA',
city: 'Rio De Janeiro',
state: 'RJ'
},
to: {
place: 'CEE CENTRO',
city: 'Rio De Janeiro',
state: 'RJ'
}
},
{
status: 'Objeto encaminhado ',
datetime: {
date: {
day: '01',
month: '02',
year: '2020'
},
time: {
hour: '10',
minute: '57'
}
},
from: {
place: 'CTE BENFICA',
city: 'Rio De Janeiro',
state: 'RJ'
},
to: {
place: 'CEE CENTRO',
city: 'Rio De Janeiro',
state: 'RJ'
}
},
{
status: 'Objeto encaminhado ',
datetime: {
date: {
day: '31',
month: '01',
year: '2020'
},
time: {
hour: '11',
minute: '01'
}
},
from: {
place: 'CTCE CURITIBA',
city: 'Curitiba',
state: 'PR'
},
to: {
place: 'CTE BENFICA',
city: 'Rio De Janeiro',
state: 'RJ'
}
},
{
status: 'Objeto encaminhado ',
datetime: {
date: {
day: '30',
month: '01',
year: '2020'
},
time: {
hour: '08',
minute: '52'
}
},
from: {
place: 'AC ASSIS CHATEAUBRIAND',
city: 'Assis Chateaubriand',
state: 'PR'
},
to: {
place: 'CTCE CURITIBA',
city: 'Curitiba',
state: 'PR'
}
},
{
status: 'Objeto postado após o horário limite da unidade',
datetime: {
date: {
day: '29',
month: '01',
year: '2020'
},
time: {
hour: '16',
minute: '46'
}
},
locale: {
place: 'AC ASSIS CHATEAUBRIAND',
city: 'Assis Chateaubriand',
state: 'PR'
}
}
]
}
```