cristof-g / auto-zurich-ws-wrapper
连接苏黎世网络服务的库
v1.1.0
2021-10-28 17:14 UTC
Requires
- laminas/laminas-soap: ^2.9
Requires (Dev)
- phpunit/phpunit: ^9.5
README
苏黎世网络服务的补充库
可用方法
目录
目录实体
$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)