Download the PHP package vecar/autotrader-api-client without Composer
On this page you can find all versions of the php package vecar/autotrader-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vecar/autotrader-api-client
More information about vecar/autotrader-api-client
Files in vecar/autotrader-api-client
Package autotrader-api-client
Short Description Set API Calls to Autotrader
License MIT
Informations about the package autotrader-api-client
AutoTrader PHP API Client
This package provides a means easily of interacting with the AutoTrader API.
Installation
Add the client to your project using composer.
composer require vecar/autotrader-api
Usage
AutoTrader require that you exchange your key & secret for an access token, this is then used to access the API.
Authentication
Vehicles
This endpoint is used to look up UK registered vehicles and returns core vehicle data.
Lookup base information
Retrieves the vehicles base information data for a valid UK registration (VRM).
Extended lookups
You can retrieve extra datasets for a VRM via the lookup
method by supplying the one or all of the following flags:
Note: The VehicleLookupFlags::VEHICLE_METRICS
& VehicleLookupFlags::VALUATIONS
flags also require the current mileage to be passed in as the last parameter as below.
-
VehicleLookupFlags::MOT_TESTS
Provides most recent MOT test information for the specified vehicle.
-
VehicleLookupFlags::FEATURES
Provides an array of standard and possible optional features for the specified vehicle.
-
VehicleLookupFlags::BASIC_VEHICLE_CHECK
Provides a variety of vehicle specific provenance data.
-
VehicleLookupFlags::FULL_VEHICLE_CHECK
Provides a variety of vehicle specific provenance data.
-
VehicleLookupFlags::VALUATIONS
Provides a variety of Auto Trader valuations for the specified vehicle.
-
VehicleLookupFlags::VEHICLE_METRICS
Provides a variety of Auto Trader valuations and vehicle metrics for the specified vehicle.
-
VehicleLookupFlags::COMPETITORS
Provides a pre-constructed URL, allowing users to explore market competition.
All versions of autotrader-api-client with dependencies
symfony/options-resolver Version ^5.0
ext-json Version *
php Version >=7.4
optimus/onion Version ^1.0
psr/log Version ^3.0
ext-fileinfo Version *