Skip to main content

Library for API iron-sms.com

Project description

Iron Sms Library

Library for API iron-sms.com

Features:

 [+] Full support API from 14.08.2021   
 [+] Support for both sync and async

Example

A small synchronous example

from ironsms import SyncIronSMS
from loguru import logger

from ironsms.exceptions import BadQueryException

api = SyncIronSMS('YOUR_API_KEY')

balance = api.get_balance()
logger.info(f'Your balance: {balance.balance}')

services = api.get_services()
logger.info(f'All services: {services}')

countries = api.get_countries()
logger.info(f'All countries: {countries}')

prices = api.get_prices('US')
logger.info(f'USA prices: {prices}')

Install

pip install ironsmslib

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

ironsmslib-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file ironsmslib-0.1.2.tar.gz.

File metadata

  • Download URL: ironsmslib-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for ironsmslib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c4b54f121e809101c2a340f44601b6e0c43ca113419e13b1ec80520ff18ab5b
MD5 cb05aa35ff2b89970e3f0484f2e690a9
BLAKE2b-256 b248c34150ce8c2b86c41a73da1d68958e1ef71abf9ae8596a0008d7694b6063

See more details on using hashes here.

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