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.
flowroute-messaging-api
Advanced tools
Readme
Simple API for communicating with the Flowroute Messaging service (both SMS & MMS).
This project is only part of the entire Flowroute API. Other projects are:
Project | Description |
---|---|
flowroute-sms-api | SMS Messaging |
flowroute-mms-api | MMS Messaging |
flowroute-messaging-api | SMS & MMS Messaging |
npm i --save flowroute-messaging-api
Name | Data Type / Format | Required | Description |
---|---|---|---|
from | String('nnnnnnnnnnn') | YES | Sender DID in E.164 format |
to | String('nnnnnnnnnnn') | YES | Recipient DID in E.164 format |
body | String | YES | 160 ASCII characters or 70 extended ASCII characters |
links | [String] | NO | Array of URLs to hosted media items |
callbackUrl | String | NO | URL of server receiving ack messages |
accessKey | String('n*') | YES | Provided by Flowroute API Preferencess page. |
secretKey | String | YES | Provided by Flowroute API Preferencess page. |
const flowroute = require('flowroute-messaging-api');
const params = require('./params.json');
const { to, from, body, links, callbackUrl, accessKey, secretKey } = params;
flowroute.send(to, from, body, links, callbackUrl, accessKey, secretKey, (err, info) => {
if (err) { throw err; }
console.log(JSON.stringify(info, null, 2));
})
{
"id": "mdr2-32889a4a82e011e78f288637582574e3"
}
Two optional variables exist for the send
method:
Variable | Purpose |
---|---|
links | Array of valid URLs pointing to hosted images, media files, or other attachments. |
callbackUrl | URL of a service endpoint listening for Flowroute's status callback. |
This project has been created for my personal use. It is maintained. Feel free to use it at your leisure. If you need help, either open an issue or get in touch directly:
Fred Lackey
fred.lackey@gmail.com
www.fredlackey.com
FAQs
Simple API for communicating with the Flowroute Messaging service (both SMS & MMS).
The npm package flowroute-messaging-api receives a total of 0 weekly downloads. As such, flowroute-messaging-api popularity was classified as not popular.
We found that flowroute-messaging-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.