Skip to main content

RequestsOpenAPI is a python client library for OpenAPI 3.0

Project description

requests-openapi

image image image

RequestsOpenAPI is a python client library for OpenAPI 3.0

Usage

import requests_openapi

c = requests_openapi.Client()
c.load_spec_from_url("http://petstore.swagger.io/v2/swagger.json")
c.requestor.auth = (user, password) # c.requestor: requests.Session
resp = c.getPetById(petId=1) # resp: requests.Response
resp.json()

Installation

pip install requests-openapi

Licennse

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

requests_openapi-0.9.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file requests_openapi-0.9.4-py3-none-any.whl.

File metadata

  • Download URL: requests_openapi-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for requests_openapi-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1bd7fa492b8aa0bed814d9ab1c8266a46b1dcb5b7d00a0858ece9d7fefa695
MD5 b17673ecbe5a466a84174087b0e79109
BLAKE2b-256 c877f3f5602ca015ca972c85aaba7b7b6c9deaa847bf778a5eb1998bbd73943f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page