=== PlateKit Vehicle Lookup ===
Contributors: platekit
Tags: mot, vehicle check, number plate, garage, car
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A UK number plate lookup box for garage and dealer websites: vehicle details, tax and MOT status, MOT history and checks.

== Description ==

Visitors type a registration and see the vehicle's make, model, colour, fuel, engine size, tax and MOT status, and latest mileage. You can also show its full MOT history, and a red, amber or green checks verdict (mileage, expired MOT, dangerous defects, repeat failures, costly advisories, gaps between tests).

Add an optional button under the result, such as "Book an MOT", that takes them to your booking page with their registration filled in.

* Add it with the PlateKit block or the `[platekit]` shortcode.
* Your API key stays on your server. Visitors' browsers never see it.
* Answers are cached, so looking up the same car twice is free.
* Per-visitor and daily limits stop bots running up your bill.

Uses the PlateKit API (https://platekit.co.uk), which needs an account. The free plan includes 100 lookups a month. Vehicle data comes from DVSA and DVLA. Contains public sector information licensed under the Open Government Licence v3.0.

= Shortcode options =

`[platekit show="vehicle,mot,checks" theme="dark" title="Check your car" cta_text="Book an MOT" cta_url="/book?reg={reg}"]`

Anything you leave out uses Settings → PlateKit.

== External services ==

This plugin sends the registration a visitor types to the PlateKit API (https://api.platekit.co.uk) from your server, with your API key, to look the vehicle up. Nothing else about the visitor is sent. Terms: https://platekit.co.uk/terms. Privacy: https://platekit.co.uk/privacy.

== Installation ==

1. Upload the plugin and activate it.
2. Get a live key from your PlateKit dashboard (https://platekit.co.uk/dashboard) and paste it in Settings → PlateKit.
3. Click "Check my key".
4. Add the PlateKit block, or the `[platekit]` shortcode, to a page.

== Frequently Asked Questions ==

= Does it cost anything? =

The plugin is free. Lookups use PlateKit credits: 1 for vehicle details, 1 for MOT history, 2 for checks. Answers you've already fetched are reused for 12 hours (you can change this), and not-found registrations are free.

= Can someone steal my key? =

No. The page calls your own site, and your site calls PlateKit. The key never leaves your server.

== Changelog ==

= 1.0.0 =
* First release.
