teimur / lx-guayaquil207
There is no license information available for the latest version (dev-custom) of this package.
Library for laximo
dev-custom
2020-04-02 11:48 UTC
Requires
- twig/twig: ^1.0
This package is not auto-updated.
Last update: 2024-09-27 12:03:37 UTC
README
#Guayaquil v2.0 Read the documentation for details: wiki.technologytrade.ru
Эта ветка сама не запуститься, она подкорректирована под ларку, если нужна оригинальная ветка го в master";
Requirements:
- PHP 5.6 +
- php-soap
- php-xml
- php-zip
- php-openssl
- php-mbstring
- php-curl
###How to install? Demo:
- Place the files in a directory accessible to the web server.
- Run "php composer.phar install" in library directory.
- Use index.php like entry point to show demo.
###How to use lib?
- import GuayaquilRequestOEM or GuayaquilRequestAM classes.
- Use instance of GuayaquilRequestOEM or GuayaquilRequestAM to create request. Add requests by "append" methods.
Find by VIN example:
$catalogCode = 'AU1221';
$vin = 'WAUZZZ4M0HD042149';
$request = new GuayaquilRequestOEM($catalogCode, '', 'en_US');
$request->appendFindVehicleByVIN($vin);
$data = $request->query(); /** Now you can see VehicleListObject in $data[0] */
Get catalog info example:
$catalogCode = 'AU1221';
$request = new GuayaquilRequestOEM($catalogCode, '', 'en_US');
$request->appendGetCatalogInfo();
$data = $request->query(); /** Now you can see CatalogObject in $data[0] */
Multiple requests (You can use up to five at a time):
$catalogCode = 'AU1221';
$vin = 'WAUZZZ4M0HD042149';
$request = new GuayaquilRequestOEM($catalogCode, '', 'en_US');
$request->appendGetCatalogInfo();
$request->appendFindVehicleByVIN($vin);
$data = $request->query(); /** Now you can see CatalogObject in $data[0] and VehicleListObject in $data[1] */