Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
sslwireless-sms
Readme
A simple python wrapper for sslwireless sms api.
pip install -r requirements.txt
or
pip install requests xmltodict
pip install sslwireless-sms
.. code:: python
from sslwireless_sms import SSLWirelessSMS
# username, password and sid provided by sslwireless
# A fourth parameter 'decode_response' can be passed to determine the return type of data
# By default 'decode_response' is set to 'False' so it will return json data as result
# Set 'decode_response' to 'True' to get python dict as result
SSLWirelessSMS = SSLWirelessSMS('username', 'password', 'sid')
# You can change the api url if needed. i.e.
# SSLWirelessSMS.url = 'new_url'
result = SSLWirelessSMS.send('123456789','This is a test message.')
print(result)
The default output will always be in JSON format unless you set
decode_response
to be True
.
.. code:: javascript
{
"status": "success", // or "failed"
"result": "sms sent", // or "invalid mobile or text" or "invalid mobile" or "invalid credentials"
"phone": "123456789", // number to send message
"message": "This is a test message.", // message sent
"reference_no": "randomly_generated_unique_no", // client generated reference no
"ssl_reference_no": "returned_sslwirless_reference_no", // api generated reference no
"datetime": "2018-02-07 01:35AM" // datetime of process
}
FAQs
A simple python wrapper for sslwireless sms api.
We found that sslwireless-sms 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.