GetSms
Project description
GET SMS
pip install getsms
pip install requests
SEND MESSAGE
from get_sms import Getsms
message = Getsms(login=login, password=password, nickname=nickname)
phone_numbers = ['998998158172', '998995451872']
results = message.send_message(phone_numbers=phone_number, text='Hello World')
if 'error' in results:
print(results)
for result in results:
print(result.phone_number)
# RESPONSE FIELDS
phone_number
text
date_received
message_id
request_id
client_ip
user_id
CHECK STATUS
from get_sms import Getsms
message = Getsms(login=login, password=password, nickname=nickname)
request_ids = [1234567, 456789]
results = message.check_status(request_ids)
if 'error' in results:
print(results)
for result in results:
print(result.status)
# RESPONSE FIELDS
phone_number
status
text
user_id
date_received
date_sent
date_delivered
message_id
request_id
count_messages
client_ip
description
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
getsms-0.1.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
getsms-0.1-py3-none-any.whl
(3.5 kB
view details)
File details
Details for the file getsms-0.1.tar.gz.
File metadata
- Download URL: getsms-0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f46079aec0955b5a7e82e61f44dc3c5ca34fc8d2074e6e108b74d25f78eb4b17
|
|
| MD5 |
52d424d0beadaa2db670df312998dbb7
|
|
| BLAKE2b-256 |
4a1dab69be04bf08bbb0c0fab2c72bbb68a5e3befae075565f51c0f5d20cabe9
|
File details
Details for the file getsms-0.1-py3-none-any.whl.
File metadata
- Download URL: getsms-0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99d3d2be554db611c3f1b1a61e1178250008f604799fb8d785d93177a161e9a1
|
|
| MD5 |
746a726a5a245bf6e161bbfccb52aff9
|
|
| BLAKE2b-256 |
ac3f6077533f26c8f474f4b32bd2bd3fad3f42f653785a929d071a6c3596c70c
|