You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

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


Maintainers
1

Readme

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 - 3.11 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc