Simple calculator API hosted on APIMATIC
Install the SDK by adding the following dependency in your project's pom.xml file:
<dependency>
<groupId>io.sdks</groupId>
<artifactId>java-project-sdk</artifactId>
<version>1.0.1</version>
</dependency>You can also view the package at: https://central.sonatype.com/artifact/io.sdks/java-project-sdk/1.0.1
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
|---|---|---|
environment |
Environment |
The API environment. Default: Environment.PRODUCTION |
httpClientConfig |
Consumer<HttpClientConfiguration.Builder> |
Set up Http Client Configuration instance. |
The API client can be initialized as follows:
APIMATICCalculatorClient client = new APIMATICCalculatorClient.Builder()
.httpClientConfig(configBuilder -> configBuilder
.timeout(0))
.environment(Environment.PRODUCTION)
.build();