Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prhost authored Sep 12, 2019
1 parent 01811d5 commit 5daf835
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ Um exemplo passando opções como o token do CEP Aberto
```php
use Prhost\CepGratis\CepGratis;

$address = CepGratis::search('31030080', ['token' => '123abc']);
$cep = '31030080';
$options = ['token' => '123abc'];
$timeout = 15; //segundos

$address = CepGratis::search($cep, $options, $timeout);
```

Outras formas:
Expand Down

0 comments on commit 5daf835

Please sign in to comment.