PHP code example of cristof-g / auto-zurich-ws-wrapper

1. Go to this page and download the library: Download cristof-g/auto-zurich-ws-wrapper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cristof-g / auto-zurich-ws-wrapper example snippets


$entidades = new WsZurich\Wrapper\EntidadesCatalogo();

$entidades->getEstados();

$entidades->getMunicipios($claveEstado);

$entidades->getAsentamientos($claveEstado, $claveMunicipio)

$entidades->getDireccionByCodigoPostal($codigoPostal)

$entidades->getCodigosPostales($claveEstado, $claveMunicio, $claveAsentamiento)

$vehiculos = new WsZurich\Wrapper\VehiculosCatalogo();

$vehiculos->getMarcas($tipoVehiculo)

$vehiculos->getSubMarcas($tipoVehiculo, $claveMarca)

$vehiculos->getModelos($tipoVehiculo, $claveMarca, $claveSubMarca)

$vehiculos->getDetalle($claveZurich)