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, while avoiding breaking changes by reducing tight coupling between modules.
Version Supported
Currently, APIMatic supports Python version 3.7+, hence the apimatic-core-interfaces package requires the same version support.
Installation
Run the following command in your SDK (the apimatic-core-interfaces package will be added as a dependency):
pip install apimatic-core-interfaces
Interfaces
| Name | Description |
|---|---|
HttpClient |
Saves both request and response after the completion of response. |
ResponseFactory |
Converts the client-adapter response into a custom HTTP response. |
Authentication |
Sets up methods for the validation and application of the required authentication scheme. |
UnionType |
Sets up 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. |
SignatureVerifier |
Defines the contract for verifying the authenticity of incoming events or webhook requests. |
Types
| Name | Description |
|---|---|
Request |
Framework-agnostic request model capturing headers, method, path, body, and raw bytes. |
SignatureVerificationResult |
Provides a structured result of the verification process, including success, failure, and error details. |
Enumerations
| Name | Description |
|---|---|
HttpMethodEnum |
Enumeration containing HTTP methods (GET, POST, PATCH, DELETE). |
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apimatic_core_interfaces-0.1.7.tar.gz.
File metadata
- Download URL: apimatic_core_interfaces-0.1.7.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34ae8aa76747f1c222812d13e52c8ed12f8cbabebfe296996011ebde2891959e
|
|
| MD5 |
7f935d990cde1b6122a9bd975831c1d0
|
|
| BLAKE2b-256 |
4fbd42f4a24861ce9e254570fbcfcfe5cf6e5cfa62d63656bde5ae2fbd429b36
|
File details
Details for the file apimatic_core_interfaces-0.1.7-py3-none-any.whl.
File metadata
- Download URL: apimatic_core_interfaces-0.1.7-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c98a87a6ce531e62d9fd154f1d76153c52b764c245c78307a744008de18156
|
|
| MD5 |
585642919cfabcfc3d6ab0847fc918d3
|
|
| BLAKE2b-256 |
7c761449f0edca9276887cc9310bea6838bcf01a8eb992571da6afefdb3f643e
|