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.
Readme
An asynchronous Python module for interacting with the Moonheim SMS API. The MoonheimSMS package allows for easy integration of SMS functionalities into your Python applications, including sending SMS messages, checking message status, and querying account balance.
pip install moonheimsms
First, ensure you have `aiohttp` installed:
pip install aiohttp
Then, you can start using `MoonheimSMS` by importing it in your project:
from moonheimsms import MoonheimSMS
moonheim = MoonheimSMS(token="YOUR_API_TOKEN", proxy="YOUR_PROXY")
await moonheim.sendSms(
phone="RECIPIENT_PHONE_NUMBER",
sender_name="YOUR_SENDER_NAME",
text="Hello, World!",
type_=0,
gateway=0,
short_link=1
)
status = await moonheim.checkSmsStatus(message_id="YOUR_MESSAGE_ID")
print(status)
balance = await moonheim.getBalance()
print(balance)
`MoonheimSMS` raises `InvalidPhoneNumber` if an invalid phone number is provided. Ensure to handle this exception in your code to manage such errors gracefully.
We welcome contributions! Please open an issue or submit a pull request for any improvements.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
[!IMPORTANT] This package is not officially affiliated with Meow SMS. All trademarks belong to their respective owners.
FAQs
Асинхронный модуль для работы с Moonheim SMS API
We found that moonheim-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.