An adapter for requests client library consumed by the SDKs generated with APIMatic
Project description
apimatic-requests-client-adapter
Introduction
Requests is a simple, yet elegant, HTTP library. This repository contains the client implementation that uses the requests library for python SDK provided by APIMatic.
Version supported
Currenty APIMatic supports Python version 3.7+ hence the apimatic-requests-client-adapter will need the same versions to be supported.
Installation
Simply run the command below in your SDK as the apimatic-requests-client-adapter will be added as a dependency in the SDK.
pip install apimatic-requests-client-adapter
Supported Methods Provided by requests-client
| Method | Description |
|---|---|
create_default_http_client |
function to creat a defaultp http client |
force_retries |
Reset retries according to each request |
execute |
Execute a given HttpRequest to get a string response back |
convert_response |
Converts the Response object of the CoreHttpClient into a CoreHttpResponse object |
Tests
The requests client implementation also contains unit tests to ensure reliability of the implementation and to prevent unwanted breakages.
Links
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_requests_client_adapter-0.1.10.tar.gz.
File metadata
- Download URL: apimatic_requests_client_adapter-0.1.10.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30698bfc26aedc655100c926424b4b0fae77d856aa3d4eccef9537fb856f9c76
|
|
| MD5 |
a03601e021164e9ec9e3c5da6b5a97f4
|
|
| BLAKE2b-256 |
20959c66b60bf9c9fcf3ae926fe86013f057a6710ae7cbfd818d8f4eda1ea565
|
File details
Details for the file apimatic_requests_client_adapter-0.1.10-py3-none-any.whl.
File metadata
- Download URL: apimatic_requests_client_adapter-0.1.10-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c68c1038b169a27a2d1e0bd231a63f3f5396223e8bb232d67d47d0d055ea047
|
|
| MD5 |
54c0eeb645ce08f6496f5b8f4d5d8917
|
|
| BLAKE2b-256 |
2ae20ad4ddf933d0dbc8c7ba17135c2c06e467c5c74984eefebce3c8c4451f37
|