Skip to content

Commit

Permalink
chore: atualizar README
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreBellas committed Jan 21, 2024
1 parent f3a68b2 commit e27f096
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
- [Versão em JS/TS](https://github.com/AlexandreBellas/bling-erp-api-js/README.md)
- Versão em C# (em breve)

# Bling ERP API - PHP

Pacote de integração com a [API v3 do ERP Bling](https://developer.bling.com.br)
para PHP 8.2+. O mais completo existente.
para PHP 8.2+. O mais completo existente (e se não é, será).

Atualizado com a versão `v291` da API ([veja o registro de alterações](https://developer.bling.com.br/changelogs#2024-01-31)).

Expand Down Expand Up @@ -75,21 +78,26 @@ Nem todas as entidades do Bling estão permitidas para interação. As atuais s

Para listar seus produtos, basta executar:

```js
```php
use AleBatistella\BlingErpApi\Bling;

$apiKey = "sua_api_key";
$blingConnection = new Bling($apiKey);

$products = $blingConnection->produtos->get();

dd($products);
var_dump($products);
```

## Executando os testes do projeto

Faça o clone do projeto, instale as dependências e execute:

```bash
vendor/phpunit/phpunit/phpunit -c php/phpunit.xml
vendor/phpunit/phpunit/phpunit -c phpunit.xml
```

## Contribuindo ao projeto

- [Guia de contribuição](https://github.com/AlexandreBellas/bling-erp-api-php/blob/v5.0.0/CONTRIBUTING.md)
- [Apoie o projeto](https://www.paypal.com/donate/?hosted_button_id=G2NJKZ5MUMKBS)

0 comments on commit e27f096

Please sign in to comment.