Skip to main content

An abstract layer of the functionalities provided by apimatic-core-library, requests-client-adapter and APIMatic SDKs.

Project description

apimatic-core-interfaces

PyPI Licence

Introduction

This project contains the abstract layer for APIMatic's core library. The purpose of creating interfaces is to separate out the functionalities needed by APIMatic's core library module. The goal is to support scalability and feature enhancement of the core library and the SDKs along with avoiding any breaking changes by reducing tight coupling between modules through the introduction of interfaces.

Version supported

Currenty APIMatic supports Python version 3.7 - 3.11 hence the apimatic-core-interfaces will need the same versions to be supported.

Installation

Simply run the command below in your SDK as the apimatic-core-interfaces will be added as a dependency in the SDK.

pip install apimatic-core-interfaces

Interfaces

Name Description
HttpClient To save both Request and Response after the completion of response
ResponseFactory To convert the client-adapter response into a custom HTTP response
Authentication To setup methods for the validation and application of the required authentication scheme
UnionType To setup methods for the validation and deserialization of OneOf/AnyOf union types

Enumerations

Name Description
HttpMethodEnum Enumeration containig HTTP Methods (GET, POST, PATCH, DELETE)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apimatic-core-interfaces-0.1.4.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

apimatic_core_interfaces-0.1.4-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page