承接 opensaucesystems/dvlasearch 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opensaucesystems/dvlasearch

Composer 安装命令:

composer require opensaucesystems/dvlasearch

包简介

A simple object orientated way to interact with the dvlasearch API

README 文档

README

dvlasearch.co.uk - Logo

DVLASearch - API Client

This PHP composer package provides a simple object orientated way to interact with the http://dvlasearch.co.uk API.

Setup:

Using composer add the package to your project:

composer require opensaucesystems/dvlasearch

Initializing the client:

<?php
require 'vendor/autoload.php';
    
/**
 * Initialize the API client class
 */
$dvlasearch = new opensaucesystems\dvlasearch\APIClient(
    'DvlaSearchDemoAccount' // API key
);

Making calls:

To interact with the API, its as simple as calling a class method or property, endpoints are dynamically loaded when traversed to.

For example:

print_r($dvlasearch->vin->find('WMX1903782A004387'), true);

stdClass Object
(
    [co2Emissions] => 219 g/km
    [model] => Amg Gt
    [twelveMonthRate] => 
    [transmission] => Automatic
    [vrm] => 10GRX
    [colour] => WHITE
    [sixMonthRate] => 
    [yearOfManufacture] => 2015
    [dateOfFirstRegistration] => 31 July 2015
    [fuelType] => PETROL
    [revenueWeight] => 1890kg
    [typeApproval] => M1
    [vin] => WMX1903782A004387
    [wheelPlan] => 2 AXLE RIGID BODY
    [motDetails] => No details held by DVLA
    [make] => MERCEDES-BENZ
    [taxDetails] => Tax due: 01 August 2016
)

See: examples.php for further calls and there results.

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固