optinsoft / asmspva

Async API wrapper for smspva

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Async API wrapper for smspva

Installation

pip install git+https://github.com/optinsoft/asmspva.git

Usage

from asmspva import AsyncSmsPva
import asyncio

async def test(apiKey: str):
    asmspva = AsyncSmsPva(apiKey)
    print("getBalance\n", await asmspva.getBalance('opt4'))    

if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(test('PUT_YOUR_API_KEY_HERE'))

About

Async API wrapper for smspva

License:MIT License


Languages

Language:Python 100.0%