Skip to content

Syed-Subtain/calculator-java-java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Apimatic Calculator

Introduction

Simple calculator API hosted on APIMATIC

Install the Package

Install the SDK by adding the following dependency in your project's pom.xml file:

<dependency>
  <groupId>io.sdks</groupId>
  <artifactId>calculator-java-sdk</artifactId>
  <version>1.2.6</version>
</dependency>

You can also view the package at: https://central.sonatype.com/artifact/io.sdks/calculator-java-sdk/1.2.6

Initialize the API Client

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();

List of APIs

SDK Infrastructure

Configuration

HTTP

Utilities

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages