dev-master
9999999-devThis is the official PHP SDK for integration with BSeller.
MIT
The Requires
- php >=5.4
- guzzlehttp/guzzle ^5.3
- monolog/monolog ^1.0
The Development Requires
by Julio Reis
Wallogit.com
2017 © Pedro Peláez
This is the official PHP SDK for integration with BSeller.
, (*1)
Esta é a SDK (Software Developmen Kit) oficial da BSeller, construída em PHP, que você pode utilizar para integrar sua plataforma aos nossos serviços., (*2)
Veja um exemplo de como é fácil utilizar:, (*3)
<?php
require_once './vendor/autoload.php';
$authToken = '6A9E013C42EB7152E0536AF3A8C0EDC8';
/** @var \BSeller\Api $api */
$api = new BSeller\Api($authToken);
/** @var \BSeller\Api\EntityInterface\Catalog\Product\Variation $entityInterface */
$entityInterface = $api->productVariations()
->entityInterface();
$entityInterface
->setNome('Cor')
->setId(1)
->addSpecification(1, 'Azul')
->addSpecification(2, 'Amarelo')
->addSpecification(3, 'Vermelho')
->addSpecification(4, 'Rosa')
->addSpecification(5, 'Branco');
$response = $entityInterface->create();
if ($response->success()) {
echo 'SUCCESS!';
}
Sua contribuição é sempre bem vinda! Por favor, leia a documentação de contribuição de código., (*4)
Julio Reis, (*5)
Para solicitações de suporte, por favor, envie um e-mail para o seguinte endereço:, (*6)
sdk@e-smart.com.br, (*7)
BSeller PHP SDK é um projeto iniciado nos escritórios da B2W e disponibilizado como software Open Source em Março de 2018., (*8)
O código fonte incluso nesta distribuição está licenciado sob o OSL 3.0., (*9)
The Open Software License 3.0 (OSL-3.0)., (*10)
Por favor, veja o arquivo LICENSE.txt para ler o texto completo da licença OSL 3.0 ou entre em contato com sdk@e-smart.com.br para obter uma cópia., (*11)
This is the official PHP SDK for integration with BSeller.
MIT