Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eunarede/bling-php-sdk
PHP SDK (não oficial) para Bling ERP
https://github.com/eunarede/bling-php-sdk
bling composer composer-package erp php sdk
Last synced: about 1 month ago
JSON representation
PHP SDK (não oficial) para Bling ERP
- Host: GitHub
- URL: https://github.com/eunarede/bling-php-sdk
- Owner: eunarede
- License: mit
- Archived: true
- Created: 2019-08-19T16:20:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-11T02:59:02.000Z (about 5 years ago)
- Last Synced: 2024-09-26T16:01:33.451Z (about 1 month ago)
- Topics: bling, composer, composer-package, erp, php, sdk
- Language: PHP
- Size: 37.1 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bling-php-sdk
PHP SDK (não oficial) para Bling ERP## Criando o cliente de configuração e autenticação
```php
use Bling\Core\Config;
use Bling\BlingClient;$apitoken = '1234';
$client = new BlingClient(Config::configure($apitoken));
```
## Contatos
use os seguintes métodos abaixo para trabalhar com a API de contatos da Bling.
### Listar Contatos
```php
try {
$listarContatos = $client->getAllContatos();
print_r($listarContatos);
} catch (\Exception $e) {
echo $e->getMessage() . PHP_EOL;
}```