Skip to main content

HTTP REST Client based on aiohttp with dynamic url building

Project description

HTTP REST Client based on aiohttp with dynamic url building. Useful for microservices non-blocking communication


from mgun import HttpClient
import asyncio

client = HttpClient('')

async def request():
    resp = await client.anything.api.users[23].address.get({'q': '12'})

    print(resp.status)  # 200
    print(['url'])  #

loop = asyncio.get_event_loop()

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

async_mgun-0.1.3-py2-none-any.whl (4.8 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page