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

OAIRequest is a python client library for OpenAPI 3.0

Project description

oai-request

image image image

OAIRequest is a python client library for OpenAPI 3.0

Usage

import oai_request

c = oai_request.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 oai-request

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.

Files for oai-request, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size oai_request-0.1.5-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size oai-request-0.1.5.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