advans/php-api-lco

There is no license information available for the latest version (v1.1.2) of this package.

v1.1.2 2023-06-15 19:11 UTC

This package is auto-updated.

Last update: 2024-04-15 21:06:12 UTC


README

Latest Stable Version Total Downloads

Instalación usando Composer

$ composer require advans/php-api-lco

Ejemplo

$lco_config = new \Advans\Api\Lco\Config([
    'base_url' => '**********************',
    'key' => '**********************',
]);
$lco_service = new \Advans\Api\Lco\Lco($lco_config);

$serial = '00001000000514412260';
$response = $lco_service->getBySerial($serial);

Configuración

Parámetro Valor por defecto Descripción
base_url null URL de la API
key null API Key
use_exceptions true Define si una respuesta con error dispara un Exception