https://github.com/filipelinhares/correios-tracking
:mailbox_with_no_mail: Correios tracking, built with vercel/now
https://github.com/filipelinhares/correios-tracking
correios correios-tracking tracking vercel zeit
Last synced: 5 months ago
JSON representation
:mailbox_with_no_mail: Correios tracking, built with vercel/now
- Host: GitHub
- URL: https://github.com/filipelinhares/correios-tracking
- Owner: filipelinhares
- License: mit
- Created: 2017-01-18T18:25:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T08:14:26.000Z (almost 3 years ago)
- Last Synced: 2025-04-14T18:49:35.947Z (7 months ago)
- Topics: correios, correios-tracking, tracking, vercel, zeit
- Language: JavaScript
- Homepage:
- Size: 84 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Correios Tracking
[](https://zeit.co/new/project?template=https://github.com/filipelinhares/correios-tracking)
**Usage**
```
https://your-endpoint.now.sh.your-user/api/track?code=TRACKING_CODE
```
**Response**
```json
{
"code": "PU847542099BR",
"tracks": [
{
"locale": {
"city": "Belo horizonte",
"state": "MG"
},
"observation": {
"from": "",
"to": ""
},
"status": "Objeto postado",
"trackedAt": "9/5/2019"
},
{
"locale": {
"city": "Belo horizonte",
"state": "MG"
},
"observation": {
"from": "De agência dos correios em Belo horizonte/MG ",
"to": "Para unidade de tratamento em Belo horizonte/MG"
},
"status": "Objeto encaminhado",
"trackedAt": "9/5/2019"
},
{
"locale": {
"city": "Belo horizonte",
"state": "MG"
},
"observation": {
"from": "De unidade de tratamento em Belo horizonte/MG ",
"to": "Para unidade de tratamento em curitiba / pr"
},
"status": "Objeto encaminhado",
"trackedAt": "9/6/2019"
},
{
"locale": {
"city": "Curitiba",
"state": "PR"
},
"observation": {
"from": "De unidade de tratamento em Curitiba/PR ",
"to": "Para unidade de distribuição em cascavel / pr"
},
"status": "Objeto encaminhado",
"trackedAt": "9/10/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "",
"to": ""
},
"status": "Objeto saiu para entrega ao destinatário",
"trackedAt": "9/11/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "",
"to": ""
},
"status": "A entrega não pode ser efetuada - carteiro não atendido",
"trackedAt": "9/11/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "",
"to": ""
},
"status": "A entrega não pode ser efetuada - carteiro não atendido",
"trackedAt": "9/11/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "De unidade de distribuição em Cascavel/PR ",
"to": "Para agência dos correios em Cascavel/PR"
},
"status": "Objeto encaminhado",
"trackedAt": "9/12/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "",
"to": ""
},
"status": "Objeto recebido na unidade dos correios",
"trackedAt": "9/12/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "Rua souza naves -",
"to": ""
},
"status": "Objeto aguardando retirada no endereço indicado",
"trackedAt": "9/12/2019"
},
{
"locale": {
"city": "Cascavel",
"state": "PR"
},
"observation": {
"from": "",
"to": ""
},
"status": "Objeto entregue ao destinatário",
"trackedAt": "9/20/2019"
}
],
"isDelivered": true,
"postedAt": "2019-09-05T16:58:00.000Z",
"updatedAt": "2019-09-20T10:31:00.000Z"
}
```
## Development
```
git clone git@github.com:filipelinhares/correios-tracking.git
cd correios-tracking
now dev
```
## License
[MIT](LICENSE.md) © Filipe Linhares