
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
This library supports the following Python implementations:
pip install sms-api-guru
To send an SMS, you have to create an API key using the SMS API Guru dashboard. When you register an account, you automatically get an API key with one free SMS which you can send anywhere.
import sms_api_guru as api
api.set_key("YOUR_API_KEY")
api.send_sms("+381611231234", "Dummy message text...")
result = api.send_sms("+381611231234", "Dummy message text...")
if(result.ok):
print(result.price)
else:
print(result.message)
{
"ok": true,
"message": "Message sent successfully",
"price": 0.05
}
{
"ok": false,
"message": "API key not found"
}
You can also use our service to easily verify a phone number, without storing data about the phones that you are about to verify, because we can do it for you.
# User has sent his phone number for verification
result_sms = api.send_verification_code("+11234567890", service_name, seconds)
# Show him the code submission form
# We will handle the verification code ourselves
# The user has submitted the code
result_code = api.verify_code("+11234567890", user_entered_code)
# if `result_code.valid` is True, then the phone number is verified.
service_name
is what the user will see in the verification message, e. g. "Your verification code for Guest is: CODE"
seconds
is how many seconds the code is valid. Default is 10 minutes. Maximum is one day.
If you need help installing or using the library, please check the FAQ first, and contact us at support@smsapiguru.com if you don't find an answer to your question.
If you've found a bug in the API, package or would like new features added, you are also free to contact us!
FAQs
Python library that helps you send SMS using SMS API Guru API
We found that sms-api-guru 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.