Open source Java library to query the unofficial Danish VAT API service https://www.cvrapi.dk. You need to buy access and get an authorization token before you can use this library.
Go to file
Mark Nellemann 9dfeea09b2 Update dependencies. 2022-07-28 16:01:51 +02:00
gradle Update 3rd party dependencies. 2021-12-11 20:17:52 +01:00
src Work on free API 2021-11-03 15:48:13 +01:00
.editorconfig Update build pipeline. 2019-08-19 11:43:07 +02:00
.gitignore Initial work. 2019-08-17 19:53:11 +02:00
README.md Work on free API 2021-11-03 15:48:13 +01:00
bitbucket-pipelines.yml Remove jcenter and update dependencies. 2021-08-22 15:55:46 +02:00
build.gradle Update 3rd party dependencies. 2021-12-11 20:17:52 +01:00
gradle.properties Update dependencies. 2022-07-28 16:01:51 +02:00
gradlew Initial work. 2019-08-17 19:53:11 +02:00
gradlew.bat Initial work. 2019-08-17 19:53:11 +02:00

README.md

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