Update readme and test build pipeline.
This commit is contained in:
parent
054322385b
commit
063f0d9e60
10
README.md
10
README.md
|
@ -4,11 +4,15 @@
|
|||
|
||||
A Java library to query <https://www.cvrapi.dk> (a Danish VAT API service).
|
||||
|
||||
[![Build Status](https://drone.data.coop/api/badges/nellemann/libcvrapi/status.svg)](https://drone.data.coop/nellemann/libcvrapi)
|
||||
## Usage
|
||||
|
||||
CvrApi api = new CvrApi("My user agent", "mySecretToken");
|
||||
Company company = api.getCompanyByVatNumber("57020415");
|
||||
System.out.println(company.life.name);
|
||||
|
||||
```java
|
||||
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](http://docs.rest.cvrapi.dk/).
|
||||
|
||||
|
|
Loading…
Reference in a new issue