Simple calculator API hosted on APIMATIC
If you are building with .NET CLI tools then you can also use the following command:
dotnet add package ali-raza --version 1.00.0
You can also view the package at: https://www.nuget.org/packages/ali-raza/1.00.0
The generated SDK also contain one or more Tests, which are contained in the Tests project. In order to invoke these test cases, you will need NUnit 3.0 Test Adapter Extension
for Visual Studio. Once the SDK is complied, the test cases should appear in the Test Explorer window. Here, you can click Run All
to execute these test cases.
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 |
Timeout |
TimeSpan |
Http client timeout. Default: TimeSpan.FromSeconds(100) |
The API client can be initialized as follows:
APIMATICCalculator.Standard.APIMATICCalculatorClient client = new APIMATICCalculator.Standard.APIMATICCalculatorClient.Builder()
.Environment(APIMATICCalculator.Standard.Environment.Production)
.Build();