Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

This version

0.9.3

Download files

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

Files for requests-openapi, version 0.9.3
Filename, size File type Python version Upload date Hashes
Filename, size requests_openapi-0.9.3-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size requests-openapi-0.9.3.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page