
The APIMatic Core libraries provide a stable runtime that powers all the functionality of SDKs.
This includes functionality like the ability to create HTTP requests, handle responses, apply authentication schemes, convert API responses back to object instances, validate user and server data, and more advanced features like templating and secure signature verification.
You will need Python 3.7+ to support this package.
pip install apimatic-core
| Name |
Description |
RequestBuilder |
A builder class used to build an API Request |
APICall |
A class used to create an API Call object |
ResponseHandler |
Used to handle the response returned by the server |
| Name |
Description |
HeaderAuth |
HTTP authentication via headers |
QueryAuth |
HTTP authentication via query parameters |
AuthGroup |
Supports grouping of multiple authentication operations |
And |
Logical AND grouping for multiple authentication types |
Or |
Logical OR grouping for multiple authentication types |
Single |
Represents a single authentication type |
| Name |
Description |
LazyProperty |
Decorator for lazy instantiation |
| Name |
Description |
HttpClientConfiguration |
A class used for configuring the SDK by a user |
ProxySettings |
ProxySettings encapsulates HTTP proxy configuration for Requests, e.g. address, port and optional basic authentication for HTTP and HTTPS |
| Name |
Description |
SdkLogger |
Logs requests and responses when logging configuration is provided |
NoneSdkLogger |
No-op logger used when logging is disabled |
ConsoleLogger |
Simple console logger implementation |
LoggerFactory |
Provides appropriate logger instances based on configuration |
Pagination
This layer enables secure handling of webhooks, callbacks, and API integrations that rely on HMAC or other signing strategies.
| Name |
Description |
to_unified_request |
Sync wrapper for Flask/Django (WSGI). Unwraps Flask LocalProxy when present and bridges to the async converter using an event loop. |
to_unified_request_async |
Async adapter that converts Starlette/FastAPI, Flask/Werkzeug, or Django requests into a framework-agnostic Request snapshot (method, path, url, headers, raw body, query, form, cookies). |