Python Package of SMS.ir Panel
Project description
smsir-python
sms.ir python package
Installation
pip install smsir_python
Requirements
You only need the requests package to send apis, You can also send your requests faster by installing the faster_than_requests package. But this is optional.
optional :
pip install faster-than-requests
Usage
Create Instance
from smsir 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,
)
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_data,
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.
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
Built Distribution
Hashes for smsir_python-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a5142056734dbe9b6406b74e25db5ce4a99f08369a1e8231bec550c6ccab48e |
|
MD5 | f973091b5d149d7cb015560ba5fb8bd1 |
|
BLAKE2b-256 | e11ffc94fd221f757f8f4c616fdc6c1eae89290b9c21f881357cd6a6ad514e95 |