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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.


All versions of autotrader-api-client with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.0 || ^7.2
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 *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vecar/autotrader-api-client contains the following files

Collapse All

src

   Api

     Builders
      StockItemMetaInfoBuilder.php
      StockItemPriceInfoBuilder.php
      StockItemRequestBuilder.php
      StockItemRetailAdvertsDisplayOptionsBuilder.php
      StockItemRetailAdvertsInfoBuilder.php
      StockSearchRequestBuilder.php
      TrendedValuationDateRequestBuilder.php
      TaxonomyFacetRequestBuilder.php
      TrendedValuationRequestBuilder.php
      TrendedValuationValuationsRequestBuilder.php
      TrendedValuationVehicleRequestBuilder.php
      ValidationException.php
      ValuationRequestBuilder.php
      VehicleFeatureInfoBuilder.php
      StockItemMediaInfoBuilder.php
      StockItemImageInfoBuilder.php
      StockItemAdvertsInfoBuilder.php
      StockItemAdvertInfoBuilder.php
      SearchRequestBuilder.php
      RetailMetricsRequestBuilder.php
      MetricRequestBuilder.php
      LookupRequestBuilder.php
      LocationInfoBuilder.php
      LeadSummaryRequestBuilder.php
      InfoCollection.php
      HasFlags.php
      BuilderInterface.php
      BasicVehicleInfoBuilder.php
      AbstractSchemableBuilder.php
      AbstractNameableBuilder.php
      AbstractBuilder.php
      VehicleInfoBuilder.php
     Enums
       BodyTypes
      VehicleTypes.php
      VehicleLookupFlags.php
      VehicleFeatureTypes.php
      VatStatuses.php
      VatSchemes.php
      ValuationConditionTypes.php
      TrendedValuationMarketTypes.php
      TrendedValuationFrequencyTypes.php
      TransmissionTypes.php
      StockSearchFlags.php
      SharedFlags.php
      SearchFlags.php
      ServiceHistory.php
      ReservationStatuses.php
      OwnershipConditions.php
      LifecycleStates.php
      LeadStatus.php
      FuelTypes.php
      Enum.php
      Conditions.php
      CabTypes.php
      AxleConfigurations.php
      AdvertStatus.php
      AbstractEnum.php
      WheelbaseTypes.php
     Exceptions
    AbstractApi.php
    Advertisers.php
    Authentication.php
    Leads.php
    Search.php
    Stock.php
    Taxonomy.php
    TaxonomyFacets.php
    Valuations.php
    VehicleMetrics.php
    Vehicles.php

   Http

     Exceptions
     Middleware
    AbstractClient.php
    AccessToken.php
    ClientInterface.php
    GuzzleClient.php
    SimpleMultipartBody.php
    UrlEncodedFormBody.php
  AbstractClient.php
  Client.php
  ManagesHttpAccessTokens.php
  WebhookHashValidator.php
LICENSE
README.md
composer.json