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.
messente_api
Advanced tools
Readme
Messente is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds tools to help organizations connect their services to people anywhere in the world.
Install Messente API library with npm install messente_api --save
.
Messente API has the following features:
Messente API Library provides the operations described below to access the features.
addToBlacklist
deleteFromBlacklist
fetchBlacklist
isBlacklisted
addContactToGroup
createContact
deleteContact
fetchContact
fetchContactGroups
fetchContacts
removeContactFromGroup
updateContact
retrieveDeliveryReport
createGroup
deleteGroup
fetchGroup
fetchGroups
updateGroup
fetchInfo
cancelScheduledMessage
sendOmnimessage
createStatisticsReport
Type: HTTP basic authentication
Read the external getting-started article which explains API keys and Sender ID logic.
const MessenteApi = require('messente_api');
const defaultClient = MessenteApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
const basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR_MESSENTE_API_USERNAME';
basicAuth.password = 'YOUR_MESSENTE_API_PASSWORD';
const api = new MessenteApi.OmnimessageApi();
const viber = MessenteApi.Viber.constructFromObject({
text: 'Hello Viber!',
sender: 'Messente',
});
const sms = MessenteApi.SMS.constructFromObject({
text: 'Hello SMS!',
});
const whatsAppText = MessenteApi.WhatsAppText.constructFromObject({
body: 'Hello WhatsApp!',
preview_url: false,
});
const whatsapp = MessenteApi.WhatsApp.constructFromObject({
text: whatsAppText,
});
const omnimessage = MessenteApi.Omnimessage.constructFromObject({
messages: [whatsapp, viber, sms],
to: '<phone number in e.164 format',
});
api.sendOmnimessage(omnimessage, (error, data) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ', data);
}
});
FAQs
Send and receive SMS, Viber, Telegram and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups.
The npm package messente_api receives a total of 2,580 weekly downloads. As such, messente_api popularity was classified as popular.
We found that messente_api demonstrated a not healthy version release cadence and project activity because the last version was released 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.