From 063f0d9e60f637ae404d17ab27303204a4d35df6 Mon Sep 17 00:00:00 2001 From: Mark Nellemann Date: Tue, 3 Jan 2023 14:04:09 +0100 Subject: [PATCH] Update readme and test build pipeline. --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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/).