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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy