Skip to main content

Moip API wrapper for asyncio/aiohttp

Project description

Usage

import async_moip
import aiohttp
import asyncio

async def main(request):
    moip = moipLib.Moip(environment='<production or sandbox', key='<key>', token='<token>')
    customer = await moip.get_order('ORD-W121212121')
    print(customer)
    
loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Project details


Download files

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

Source Distribution

async_moip-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

async_moip-0.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page