
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
sms.ir python package
pip install smsir-python
You only need the requests package to send apis.
from sms_ir import SmsIr
sms_ir = SmsIr(
api_key,
linenumber,
)
Send message to specific mobile number
sms_ir.send_sms(
number,
message,
linenumber,
)
Send message to multiple mobile numbers
sms_ir.send_bulk_sms(
numbers,
message,
linenumber,
)
Send multiple messages to multiple mobile numbers pair to pair
sms_ir.send_like_to_like(
numbers,
messages,
linenumber,
send_date_time,
)
Delete scheduled message pack
sms_ir.delete_scheduled(
pack_id,
)
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,
},
],
)
get report of sent message
sms_ir.report_message(
message_id,
)
get report of sent message pack
sms_ir.report_pack(
pack_id,
)
get report of Today sent Messages
sms_ir.report_today(
page_size,
page_number,
)
get report of Archived Messages
sms_ir.report_archived(
from_date,
to_date,
page_size,
page_number,
)
get report of latest received messages
sms_ir.report_latest_received(
count,
)
get report of today received messages
sms_ir.report_today_received(
page_size,
page_number,
)
get report of today received messages
sms_ir.report_archived_received(
from_date,
to_date,
page_size,
page_number,
)
get account credit
sms_ir.get_credit()
get account line numbers
sms_ir.get_line_numbers()
If you find a bug or have a question, you can contact me via the link below mojtaba.akbari.221B@gmail.com.
FAQs
Python Package of SMS.ir Panel
We found that smsir-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.