Silvertripe module for adding a NZBN lookup field.
SilverStripe module for adding a NZBN lookup field to a form.
For a CMS user to add the NZBN lookup field, you need to have SilverStripe User Forms module installed.
$ composer require somar/silverstripe-nzbn
mysite/_config/nzbn.yml
Somar\NZBN\Model\LookupField:
button_text: 'Search'
Somar\NZBN\Service\LookupService:
# url: 'https://sandbox.api.business.govt.nz/services/v3/nzbn'
access_token: 'YOUR ACCESS TOKEN'
Follow the steps listed here on api.business.govt.nz to gain access to the NZBN API.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem