HTTP REST Client based on requests with dynamic url building
Project description
HTTP REST Client based on requests with dynamic url building
Quickstart
from mgun import HttpClient
client = HttpClient('https://httpbin.org')
resp = client.anything.api.users[23].address.get({'q': '12'})
print(resp.status) # 200
print(resp.data['url']) # https://httpbin.org/anything/api/users/23/address?q=12
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
mgun-0.1.5-py2-none-any.whl
(4.2 kB
view hashes)