Skip to content

APIstax/client-java

 
 

Repository files navigation

APIstax Java Client

Maven Central License

APIstax Java client is a complete Java client implementation for the APIstax platform.

Usage

Add the following dependency to your build file:

Maven pom.xml

<dependency> <groupId>io.apistax</groupId> <artifactId>apistax-client</artifactId> <version>${latest.version}</version> </dependency>

Gradle build.gradle

implementation("io.apistax:apistax-client:$latestVersion")

Get your APIstax API key here.

Initialise an APIstaxClient and start using it.

public class VatService { private APIstaxClient client; public VatService(String apiKey) { client = new APIstaxClient.Builder() .apiKey(apiKey) .build(); } public boolean isValid(String vatId) { VatVerificationResult result = client.verifyVatId(vatId); return result.getValid() == true; } }

The further information and documentation about the APIs can be found on APIstax documentation page.

Contributors 2

  •  
  •  

Languages