Skip to main content

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

Metadata

Release files for getsms 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getsms 0.1
File Size Uploaded
getsms-0.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for getsms 0.1
File Interpreter ABI Platform
getsms-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / getsms-0.1.tar.gz

Download URL getsms-0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f46079aec0955b5a7e82e61f44dc3c5ca34fc8d2074e6e108b74d25f78eb4b17
BLAKE2b-256 checksum
How to use checksums
4a1dab69be04bf08bbb0c0fab2c72bbb68a5e3befae075565f51c0f5d20cabe9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / getsms-0.1-py3-none-any.whl

Download URL getsms-0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99d3d2be554db611c3f1b1a61e1178250008f604799fb8d785d93177a161e9a1
BLAKE2b-256 checksum
How to use checksums
ac3f6077533f26c8f474f4b32bd2bd3fad3f42f653785a929d071a6c3596c70c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page