Skip to content

quarkiverse/quarkus-apistax

Repository files navigation

Quarkus APIstax

All Contributors

Build Maven Central License

Quarkus APIstax 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.quarkiverse.apistax</groupId>
    <artifactId>quarkus-apistax</artifactId>
    <version>${latest.version}</version>
</dependency>

Gradle build.gradle

implementation("io.quarkiverse.apistax:quarkus-apistax:$latestVersion")

Get your APIstax API key here and add it to your application.properties file:

quarkus.apistax.api-key=API-KEY

Inject an APIstaxClient and start using it.

@ApplicationScoped
public class VatService {

    @Inject
    APIstaxClient client;

    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.

Compatibility

Quarkus APIstax provides multiple different version streams.

Quarkus Quarkus APIstax
3.2.x (LTS) 1.x
3.8.x (LTS) 2.x
3.9.x 3.x

Contributors ✨

Thanks goes to these wonderful people (emoji key):

David Andlinger
David Andlinger

💻 🚧
Max Holzleitner
Max Holzleitner

💻 🚧
George Gastaldi
George Gastaldi

💻
Guillaume Smet
Guillaume Smet

💻

This project follows the all-contributors specification. Contributions of any kind welcome!