{"id":13713382,"url":"https://github.com/cewitte/correioscalc","last_synced_at":"2026-01-11T22:56:35.077Z","repository":{"id":57574439,"uuid":"353537435","full_name":"cewitte/correioscalc","owner":"cewitte","description":"Esta é uma implementação Go (Golang) de um web service dos Correios, que permite obter o preço e o prazo de remessas (This is a Go/Golang implementation of a Correios web service, which allows you to obtain the price and delivery term).","archived":false,"fork":false,"pushed_at":"2021-04-06T00:33:18.000Z","size":402,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-14T00:33:51.702Z","etag":null,"topics":["brasil","brazil","brazilian-portuguese","correios","correios-rastreio","entregas","go","golang","objecttracking","pac","rastreio","rastreio-de-encomendas","rastreio-de-objetos","rastreio-de-pacotes","sedex","shipping-api","tracking","webservice"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cewitte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-01T01:30:31.000Z","updated_at":"2021-08-06T15:33:49.000Z","dependencies_parsed_at":"2022-08-31T04:31:21.233Z","dependency_job_id":null,"html_url":"https://github.com/cewitte/correioscalc","commit_stats":null,"previous_names":["cewitte/correios-calc"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2Fcorreioscalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2Fcorreioscalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2Fcorreioscalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2Fcorreioscalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cewitte","download_url":"https://codeload.github.com/cewitte/correioscalc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241960843,"owners_count":20049342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brasil","brazil","brazilian-portuguese","correios","correios-rastreio","entregas","go","golang","objecttracking","pac","rastreio","rastreio-de-encomendas","rastreio-de-objetos","rastreio-de-pacotes","sedex","shipping-api","tracking","webservice"],"created_at":"2024-08-02T23:01:34.345Z","updated_at":"2026-01-11T22:56:35.069Z","avatar_url":"https://github.com/cewitte.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# correioscalc \n\nImplementação Go (Golang) de um web service dos Correios, que permite obter o preço e o prazo de remessas (A Go/Golang implementation of a Correios web service, which allows you to obtain the price and delivery term).\n\n### Para clonar o repositório e rodar em sua máquina local (to clone the repo and run in your local machine):\n\n1. Clone o repositório em sua máquina local (clone the repo to your local machine):\n```\ngit clone https://github.com/cewitte/correioscalc.git\n```\n\n2. Execute o código (run the code):\n```\ngo run main.go\n```\n\n3. Siga o seu coração e faça o Bem (follow your heart and do Good).\n\n\n### Para usar o código em seu projeto Go existente (using the code in your existing Go project):\n```\ngo get -u github.com/cewitte/correioscalc\n```\n\n\n### Notas em Português do Brasil\n\nEsta é uma implementação Go (Golang) do serviço web dos Correios que permite obter o preço e o prazo de envio de um pacote com base em alguns parâmetros.\n\nEssa implementação foi baseada no **\"Manual técnico de integração web services ao Sistema Calculador de Preço e Prazo - SCPP.pdf\"** na versão 2.2 de 25/09/2019. Meu último teste com sucesso foi realizado na noite de 31 de março de 2021, portanto acredito que a documentação continua (e continuará) válida.\n\nO manual SCPP está disponível aqui no diretório \"manual-correios\", apenas em português do Brasil.\n\nTodos os comentários e a maioria dos nomes de variáveis estão em português brasileiro. Normalmente prefiro fazer tudo em inglês, mas dada a especificidade desta implementação, a decisão me parece justificada.\n\n#### Contribuições\n\nSuas contribuições são bem vindas. Que tal um Pull Request?\n\n#### Licenciamento\n\nThe Apache 2.0 licence. Por favor, veja o arquivo da licença.\n\n\n### Notes in U.S. English\n\nThis is a Go (Golang) implementation of the Brazilian Postal Service's (aka \"Correios\") web service which allows you to retrieve the price and ETA of a package shipment based on some parameters.\n\nThis implementation was based on the **\"Technical manual for integrating web services into the Price and Term Calculator System - PTCS.pdf\"** (title loosely translated) version 2.2 dated 09/25/2019. My last successful test was performed on the night of March 31, 2021, so I believe the documentation remains (and shall continue to be) valid.\n\nThe PTCS manual is available under the \"manual-correios\" folder, only in Brazilian Portuguese though.\n\nAll comments and most variables names are in Brazilian Portuguese. I usually prefer doing everything in English, but given the specificity of this implementation, the decision is justified.\n\n#### Contributions\n\nYour contributions are welcome. What about a Pull Request?\n\n#### Licensing\n\nThe Apache 2.0 License. Please see the License File for more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcewitte%2Fcorreioscalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcewitte%2Fcorreioscalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcewitte%2Fcorreioscalc/lists"}