Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.74 KB

VINDecoderApi.md

File metadata and controls

60 lines (41 loc) · 1.74 KB

marketcheck\api\sdk\VINDecoderApi

All URIs are relative to https://marketcheck-prod.apigee.net/v1

Method HTTP request Description
decode GET /vin/{vin}/specs VIN Decoder

decode

\marketcheck\api\sdk\Model\Build decode($vin, $api_key)

VIN Decoder

Get the basic information on specifications for a car identified by a valid VIN

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new marketcheck\api\sdk\Api\VINDecoderApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$vin = "vin_example"; // string | VIN to decode
$api_key = "api_key_example"; // string | The API Authentication Key. Mandatory with all API calls.

try {
    $result = $apiInstance->decode($vin, $api_key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VINDecoderApi->decode: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
vin string VIN to decode
api_key string The API Authentication Key. Mandatory with all API calls. [optional]

Return type

\marketcheck\api\sdk\Model\Build

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]