smsir-python
sms.ir python package
Installation
pip install smsir-python
Requirements
You only need the requests package to send apis.
Usage
Create Instance
from sms_ir import SmsIr
sms_ir = SmsIr(
api_key,
linenumber,
)
Send Sms
Send message to specific mobile number
sms_ir.send_sms(
number,
message,
linenumber,
)
Send Bulk Sms
Send message to multiple mobile numbers
sms_ir.send_bulk_sms(
numbers,
message,
linenumber,
)
Send Like To Like Sms
Send multiple messages to multiple mobile numbers pair to pair
sms_ir.send_like_to_like(
numbers,
messages,
linenumber,
send_date_time,
)
Delete Scheduled
Delete scheduled message pack
sms_ir.delete_scheduled(
pack_id,
)
Send Verification Code
Send verification code with predefined template
sms_ir.send_verify_code(
number,
template_id,
parameters,
)
another sample code:
sms_ir.send_verify_code(
number="+989111111111",
template_id=10000,
parameters=[
{
"name" : "code",
"value": 12345,
},
],
)
Message Report
get report of sent message
sms_ir.report_message(
message_id,
)
Pack Report
get report of sent message pack
sms_ir.report_pack(
pack_id,
)
Today Report
get report of Today sent Messages
sms_ir.report_today(
page_size,
page_number,
)
Archived Report
get report of Archived Messages
sms_ir.report_archived(
from_date,
to_date,
page_size,
page_number,
)
Latest Received Report
get report of latest received messages
sms_ir.report_latest_received(
count,
)
Today Received Report
get report of today received messages
sms_ir.report_today_received(
page_size,
page_number,
)
Archived Received Report
get report of today received messages
sms_ir.report_archived_received(
from_date,
to_date,
page_size,
page_number,
)
Get Credit
get account credit
sms_ir.get_credit()
Get Line Numbers
get account line numbers
sms_ir.get_line_numbers()
Link
If you find a bug or have a question, you can contact me via the link below mojtaba.akbari.221B@gmail.com.
Metadata
Release files for smsir-python 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smsir-python-1.0.8.tar.gz | 4.2 kB | Without provenance | Details for smsir-python-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smsir_python-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for smsir_python-1.0.8-py3-none-any.whl |
Total release size: 9.1 kB
Release files / smsir-python-1.0.8.tar.gz
| Download URL | smsir-python-1.0.8.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06460aca14fdb37fb45a23ad5ed8df7f80b7327edd490b1fd6950acef73183b9
|
|
BLAKE2b-256 checksum How to use checksums |
2c551f735ec386ef5792697c7ea371839733ec6472d0ddd0781fedb6fc017234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / smsir_python-1.0.8-py3-none-any.whl
| Download URL | smsir_python-1.0.8-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0197ccd4014c8704d934ae18329d10939ffbca83eb97d72da17ab6d61ef849a8
|
|
BLAKE2b-256 checksum How to use checksums |
4978cfed1728dd1e6bf0b6af7a5706446cb91778bb096128e084419ebd6ef989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for smsir-python 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.