Code Samples

https://api.onegov.nsw.gov.au/oauth/client_credential/accesstoken

The client can request an access token using only its client credentials (or other supported means of authentication) when the client is requesting access to the protected resources under its control, or those of another resource owner that have been previously arranged with the authorization server.

https://api.onegov.nsw.gov.au/liquorregister/v1/browse

Provides the consumer with a search option to enter in partial information and returns a list of the search.

https://api.onegov.nsw.gov.au/liquorregister/v1/verify

Provides the consumer with a search option to enter in partial information and returns a list of the search. It is used for quick verification of a licence.

https://api.onegov.nsw.gov.au/liquorregister/v1/details

Provides a set of detailed information about the individual licence selected that corresponds to the level of information seen on the detailed screen of the Public Register application.