RequestsOpenAPI is a python client library for OpenAPI 3.0
Project description
requests-openapi
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
requests-openapi-0.9.3.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for requests_openapi-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7556898c797684a4ae713e95176411c2f804b6aa68b02a0e597418291c7b9c7e |
|
MD5 | 9362255bd17ce641ee64c94af5909fb4 |
|
BLAKE2b-256 | 91b4e9e0c67a871c836c734dbea781d773cef5a0deda591eaae83e97c8ac691e |