This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refatorando projeto, limpando e otimizando o código.
- Loading branch information
Showing
4 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
# JavaRastreio | ||
Api feita em java, para realizar o rastreio de encomendas. | ||
Projeto não otimizado, ainda falta dar uma polida no código, porem tudo funciona. | ||
|
||
Para utilizar o projeto, crie um novo objeto do tipo `RastreioAPI`, passe o SRO como argumento e seja feliz. | ||
Api feita em java, para realizar o rastreio de encomendas. | ||
Para utilizar basta chamar esse método abaixo. | ||
|
||
Métodos disponíveis na classe: | ||
`public String getCurrentStatus()` * Retorna o "local" atual da encomenda. | ||
|
||
`public String getEvents()` * Retorna uma array em formato json com todos os eventos da encomenda. | ||
|
||
`public String getSro()` * Retorna o Sro usado para a consulta. | ||
``` | ||
Rastreio rastreio = RastreioAPI.getRastreio("BR123456789BR"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters