Quarkus APIstax is a complete Java client implementation for the APIstax platform.
Add the following dependency to your build file:
<dependency>
<groupId>io.quarkiverse.apistax</groupId>
<artifactId>quarkus-apistax</artifactId>
<version>${latest.version}</version>
</dependency>
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.
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 |
Thanks goes to these wonderful people (emoji key):
David Andlinger 💻 🚧 |
Max Holzleitner 💻 🚧 |
George Gastaldi 💻 |
Guillaume Smet 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!