racerxdl / correios

A golang client for some brazilian post office(correios) services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Correios CLI

        \\
  // // // //
     \\   Correios CLI 0.3

A pure go implementation of some services for brazilian state post office: Correios.

Build

Too simple!

$ go install github.com/paoloo/correios@latest

NOTE: make sure that your $GOPATH/bin is on your PATH!

Execution

  • correios or correios -h To show syntax tips
  • correios -cep 00000000 To receive informations about the given CEP.
  • correios -pacote JR000000000BR To verify tracking data from given code.

OR, if you decide to use docker:

  • docker pull paoloo/correios
  • docker run --rm paoloo/correios:latest -cep 00000000 or
  • docker run --rm paoloo/correios:latest -pacote JR000000000BR

To Do

  • Add more services from correios

License

Mit License

About

A golang client for some brazilian post office(correios) services


Languages

Language:Go 93.2%Language:Dockerfile 6.8%