An abstract layer of the functionalities provided by apimatic-core-library, requests-client-adapter and APIMatic SDKs.
Project description
apimatic-core-interfaces
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 |
Logger |
An interface for the generic logger facade |
ApiLogger |
An interface for logging API requests and responses |
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
Built Distribution
Hashes for apimatic_core_interfaces-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f817de1177ed7ffe79490bbb9e92474c4646423d95d7558d16f89aed0dab0812 |
|
MD5 | e51aacffb689836b2240a4beb31eeabf |
|
BLAKE2b-256 | a776c87af838cd9b47c391e706cdc1a34b9367d92e9e104ca96382aacfe4d955 |
Hashes for apimatic_core_interfaces-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b239c544f688d845726795e8afcb8d64a0acd15682167d89cc60ff3cdbb0a19c |
|
MD5 | 8f9d0d9480d4fb577ae8359649c6b518 |
|
BLAKE2b-256 | d973d4f2fb23eecf2ee10056c1c7e96c6e12081c9244ef228a22820e0bbf636f |