An open API service indexing awesome lists of open source software.

https://github.com/apimatic/core-lib-csharp

This project contains core logic and the utilities for the APIMatic's C# SDK
https://github.com/apimatic/core-lib-csharp

Last synced: about 1 year ago
JSON representation

This project contains core logic and the utilities for the APIMatic's C# SDK

Awesome Lists containing this project

README

          

# APIMatic Core Library for C#

[![Version][nuget-version]][nuget-url]
[![Build & Tests][test-badge]][test-url]
[![Test Coverage][coverage-badge]][coverage-url]
[![Maintainability][maintainability-badge]][maintainability-url]
[![Licence][license-badge]][license-url]

## Introduction

This project contains core logic and the utilities for the APIMatic's C# SDK

## Important Classes

| Name | Description |
|----------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
| [`AdditionalFormParams`](APIMatic.Core/Request/Parameters/AdditionalFormParams.cs) | Used to add additional form params to a request |
| [`AdditionalHeaderParams`](APIMatic.Core/Request/Parameters/AdditionalHeaderParams.cs) | Used to add additional header params to a request |
| [`AdditionalQueryParams`](APIMatic.Core/Request/Parameters/AdditionalQueryParams.cs) | Used to add additional query params to a request |
| [`BodyParam`](APIMatic.Core/Request/Parameters/BodyParam.cs) | Body parameter class |
| [`FormParam`](APIMatic.Core/Request/Parameters/FormParam.cs) | Form parameter class |
| [`HeaderParam`](APIMatic.Core/Request/Parameters/HeaderParam.cs) | Header parameter class |
| [`QueryParam`](APIMatic.Core/Request/Parameters/QueryParam.cs) | Query parameter class |
| [`TemplateParam`](APIMatic.Core/Request/Parameters/TemplateParam.cs) | Template parameter class |
| [`RequestBuilder`](APIMatic.Core/Request/RequestBuilder.cs) | Used to instantiate a new Request object with the provided properties |
| [`ErrorCase`](APIMatic.Core/Response/ErrorCase.cs) | Used to generate an ApiException from the HttpClient response |
| [`ResponseHandler`](APIMatic.Core/Response/ResponseHandler.cs) | Used to handle and process the response from HttpClient |
| [`ApiCall`](APIMatic.Core/ApiCall.cs) | Deals with the execution of request created from RequestBuilder and processes the response through ResponseHandler |
| [`GlobalConfiguration`](APIMatic.Core/GlobalConfiguration.cs) | Carries the common configuration that will be applicable to all the ApiCalls |
| [`SdkLogger`](APIMatic.Core//Utilities/Logger/SdkLogger.cs) | Provides logging functionality for SDK operations |
| [`ConsoleLogger`](APIMatic.Core//Utilities/Logger/ConsoleLogger.cs) | Represents a logger implementation that writes log messages to the console |
| [`SdkLoggingConfiguration`](APIMatic.Core/Utilities/Logger/Configuration/SdkLoggingConfiguration.cs) | Represents the configuration settings for SDK logging |
| [`HttpLoggingConfiguration`](APIMatic.Core/Utilities/Logger/Configuration/HttpLoggingConfiguration.cs) | Abstract class representing configuration settings for HTTP request/response logging |
| [`RequestLoggingConfiguration`](APIMatic.Core/Utilities/Logger/Configuration/RequestLoggingConfiguration.cs) | Represents the configuration settings for logging HTTP responses |
| [`ResponseLoggingConfiguration`](APIMatic.Core/Utilities/Logger/Configuration/ResponseLoggingConfiguration.cs) | Carries the common configuration that will be applicable to all the ApiCalls |

[nuget-url]: https://www.nuget.org/packages/APIMatic.Core

[nuget-version]: https://img.shields.io/nuget/v/APIMatic.Core

[nuget-downloads]: https://img.shields.io/nuget/dt/APIMatic.Core

[test-badge]: https://github.com/apimatic/core-lib-csharp/actions/workflows/test.yml/badge.svg

[test-url]: https://github.com/apimatic/core-lib-csharp/actions/workflows/test.yml

[coverage-badge]: https://api.codeclimate.com/v1/badges/d613a5f73f605369e745/test_coverage

[coverage-url]: https://codeclimate.com/github/apimatic/core-lib-csharp/test_coverage

[maintainability-badge]: https://api.codeclimate.com/v1/badges/d613a5f73f605369e745/maintainability

[maintainability-url]: https://codeclimate.com/github/apimatic/core-lib-csharp/maintainability

[license-badge]: https://img.shields.io/badge/licence-MIT-blue

[license-url]: LICENSE