Python client for sms-reg.com API
Project description
smsreg-python
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
Release history Release notifications | RSS feed
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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088a4774f6882ea80630121d94de077f9e0526e43d54944ed60194f7503aff20 |
|
MD5 | d1f69573c716b2d3834604811a14d77a |
|
BLAKE2b-256 | 89890330c8946c985d7acb27ac72fab4470bf602a291267e6170cc176521e859 |