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

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

Uploaded Python 3

Supported by

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