Skip to content
Python client for sms-reg.com API
Branch: master
Clone or download
timoilya and bluzir Fix and improve (#3)
* fix finding package

* fix version

* SmsReg class takes api_key arg
Latest commit 0d7308d May 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
smsreg_python Fix and improve (#3) May 17, 2019
.gitignore Preparation before release to PyPi May 12, 2019
LICENSE Preparation before release to PyPi May 12, 2019
README.md Massive refactor. Add status errors check (#2) May 15, 2019
requirements.txt Started refactoring May 10, 2019
setup.py Fix and improve (#3) May 17, 2019

README.md

smsreg-python

Python 3.6|3.7 MIT 1.1.0

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

You can’t perform that action at this time.