diff --git a/README.md b/README.md index c511fea..77d2ae6 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,15 @@ A Java library to query (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/).