libcvrapi/README.md
2021-11-03 15:48:13 +01:00

526 B

libcvrapi


A Java library to query https://www.cvrapi.dk (a Danish VAT API service).

Usage

CvrApi api = new CvrApi("My user agent", "mySecretToken");
Company company = api.getCompanyByVatNumber("57020415");
System.out.println(company.life.name);

The Company represents most of the same properties as seen in the example JSON in the api documentation.

Development

To build and test the code:

./gradle build
./gradle test