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 hashes)

Uploaded Source

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