Skip to content

Secure and reliable APIs for your common business needs

License

Notifications You must be signed in to change notification settings

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.15.x (LTS) 3.x
3.16.x 4.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!