Skip to main content

Python client for sms-reg.com API

Project description

smsreg-python

Python 3.6|3.7 MIT 1.1.1

Python client for receiving SMS from sms-reg.com.

Installation

pip install smsreg_python --upgrade

Example

from smsreg_python.smsreg import SmsReg
from smsreg_python.dataclasses import Services

# Creating SMS-client instance
sms_client = SmsReg()

# Requesting number
sms_client.request_number(Services.INSTAGRAM)

# Receiving number and code
number = sms_client.wait_number_from_transaction()
input('Enter anything after entering number to form')
code = sms_client.wait_code_from_transaction()

You can see other usage example in examples

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

smsreg-python-1.1.1.tar.gz (1.4 kB view details)

Uploaded Source

File details

Details for the file smsreg-python-1.1.1.tar.gz.

File metadata

  • Download URL: smsreg-python-1.1.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for smsreg-python-1.1.1.tar.gz
Algorithm Hash digest
SHA256 088a4774f6882ea80630121d94de077f9e0526e43d54944ed60194f7503aff20
MD5 d1f69573c716b2d3834604811a14d77a
BLAKE2b-256 89890330c8946c985d7acb27ac72fab4470bf602a291267e6170cc176521e859

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