Skip to main content

Python asyncio wrapper for sms-activate.io API

Project description

AioSmsActivate

Getting Started

first steps (beta)

from aiosmsactivate import SmsActivate

import asyncio

sa = SmsActivate('token')

async def main():
    balance = await sa.get_balance()
    print(balance)
    # 6.25
    
    number = await sa.purchase('ya')
    print(number)
    # {'activationId': '3805286977', 'phoneNumber': '79148410549', 
    # 'activationCost': 0.2, 'currency': 840, 'countryCode': '0', 
    # 'canGetAnotherSms': True, 'activationTime': '2025-07-07 23:58:13', 
    # 'activationEndTime': '2025-07-08 00:38:13', 'activationOperator': 'mts'}
    
    number = await sa.purchase_v1('ya')
    print(number)
    # ACCESS_NUMBER:3805353105:79146307636
    
asyncio.run(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

aiosmsactivate-0.0.1.tar.gz (95.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiosmsactivate-0.0.1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file aiosmsactivate-0.0.1.tar.gz.

File metadata

  • Download URL: aiosmsactivate-0.0.1.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for aiosmsactivate-0.0.1.tar.gz
Algorithm Hash digest
SHA256 91f68090926858a9230b1d949b3497506cbfbfa05adcfb55cd397b4fbac96f02
MD5 234514fac641f56141c8890477c16be3
BLAKE2b-256 d268551da8bcae28b79da762cdc63b1772e1fe19675cc8aadf6f09826f7ffdb4

See more details on using hashes here.

File details

Details for the file aiosmsactivate-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aiosmsactivate-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for aiosmsactivate-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9d07ee3ace72f76bec246e4ad251ffa80825fea7084a1b78c436cde9eca77d6
MD5 154d22c1a758f13985e3dd982846ed14
BLAKE2b-256 e7f6c941f4ddea5ba845fffa9479e2ced1b524f099a9ff8a84d0d07b6f5697bb

See more details on using hashes here.

Supported by

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