🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

apimatic-requests-client-adapter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apimatic-requests-client-adapter

An adapter for requests client library consumed by the SDKs generated with APIMatic

0.1.7
PyPI
Maintainers
1

apimatic-requests-client-adapter

PyPI Tests Test Coverage Licence

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

MethodDescription
create_default_http_clientfunction to creat a defaultp http client
force_retriesReset retries according to each request
executeExecute a given HttpRequest to get a string response back
convert_responseConverts 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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts