API Call from DVLA to copy info into field

Evening,

I have a URL and API key to get vehicle information from the UK DVLA.

I would like to type a registration into a field and press a button to call for information from DVLA and insert the returned data into fields within the same form.

Can anyone write this?

I should be able to help you with this.