
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
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 gem install messente_api
.
Messente API has the following features:
Messente API Library provides the operations described below to access the features.
add_to_blacklist
delete_from_blacklist
fetch_blacklist
is_blacklisted
send_bulk_omnimessage
add_contact_to_group
create_contact
delete_contact
fetch_contact
fetch_contact_groups
fetch_contacts
remove_contact_from_group
update_contact
retrieve_delivery_report
create_group
delete_group
fetch_group
fetch_groups
update_group
fetch_info
cancel_scheduled_message
send_omnimessage
create_statistics_report
Type: HTTP basic authentication
Read the external getting-started article which explains API keys and Sender ID logic.
require 'messente_api'
# setup authorization
MessenteApi.configure do |config|
# Configure HTTP basic authorization: basicAuth
config.username = '<MESSENTE_API_USERNAME>'
config.password = '<MESSENTE_API_PASSWORD>'
end
api_instance = MessenteApi::OmnimessageApi.new
omnimessage = MessenteApi::Omnimessage.new
omnimessage.to = '<recipient_phone_number>'
sms = MessenteApi::SMS.new(
sender: "<sender name (optional)>",
text: "Hello SMS!"
)
viber = MessenteApi::Viber.new(
sender: "<sender name (optional)>",
text: "Hello from Viber!"
)
wa_parameters = [
MessenteApi::WhatsAppParameter.new(type: 'text', text: 'hello whatsapp'),
]
wa_component = MessenteApi::WhatsAppComponent.new(type: 'body', parameters: wa_parameters)
wa_lang = MessenteApi::WhatsAppLanguage.new(code: '<language_code>')
wa_template = MessenteApi::WhatsAppTemplate.new(name: '<template_name>', language: wa_lang, components: [wa_component])
whatsapp = MessenteApi::WhatsApp.new(
sender: '<sender name (optional)>',
template: wa_template,
)
omnimessage.messages = [sms, viber, whatsapp]
begin
result = api_instance.send_omnimessage(omnimessage)
puts result
rescue MessenteApi::ApiError => e
puts "Exception when calling send_omnimessage: #{e}"
puts e.response_body
end
FAQs
Unknown package
We found that messente_api 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
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.