1. Go to this page and download the library: Download amattu2/golo365-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/ */
amattu2 / golo365-wrapper example snippets
/**
* Class Constructor
*
* @param ?string $serial_no reporting device serial number
* @param ?string $service Golo365 service ait|aitus
* @author Alec M.
* @since 1.0.0
*/
public function __construct(string $serial_no = "", string $service = "aitus")
/**
* Set or Remove the Device Serial Number
*
* @param ?string $serial_no
* @return self
* @since 1.0.0
*/
public function setSerialNo(string $serial_no = "") : self
/**
* Set or Remove the Report Listing Size Limit
*
* @param ?integer $size
* @return self
* @since 1.0.0
*/
public function setListSize(int $size = 0) : self
/**
* Fetch Diagnostic Scan History by VIN
*
* Note:
* (1) If the serial_no variable is not empty,
* it will be used to limit results to that
* specific device
*
* @param string $vin VIN to search
* @param mixed $page page number to fetch
* @return Array of diagnostic scan history
* @throws \TypeError
* @throws \InvalidArgumentException
* @since 1.0.0
*/
public function reportListByVIN(string $VIN, $page = "") : array
/**
* Fetch Diagnostic Scan History by License Plate Number
*
* Note:
* (1) If the serial_no variable is not empty,
* it will be used to limit results to that
* specific device
*
* @param string $plate_number License Plate # to search
* @param mixed $page page number to fetch
* @return Array of diagnostic scan history
* @throws \TypeError
* @throws \InvalidArgumentException
* @since 1.0.0
*/
public function reportListByPlateNumber(string $plate_number, $page = "") : array
/**
* Fetch a License Plate by the VIN Number
*
* @param string $VIN the vehicle VIN number to search a plate for
* @return array
* @throws \InvalidArgumentException
* @since 1.0.0
*/
public function getPlateByVIN(string $VIN) : array