Skip to content

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

Notifications You must be signed in to change notification settings

paoloo/correios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

asdf

If you installed go with asdf, make sure to reshim it (asdf reshim golang) after installing this package. Refer to the asdf plugin for more information.

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published