Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

messagemedia-lookups-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

messagemedia-lookups-sdk

The MessageMedia Lookups API provides a number of endpoints for validating the phone numbers you’re sending to by checking their validity, type and carrier records.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

MessageMedia Lookups NodeJS SDK

The MessageMedia Lookups API provides a number of endpoints for validating the phone numbers you’re sending to by checking their validity, type and carrier records.

⭐️ Installing via NPM

Now install messagemedia-messages-sdk via npm by using:

  • npm install messagemedia-lookups-sdk

Alternatively, add the following to the dependencies section of your package.json:

  • "messagemedia-lookups-sdk": "^1.0.0"

🎬 Get Started

It's easy to get started. Simply enter the API Key and secret you obtained from the MessageMedia Developers Portal into the code snippet below and a mobile number you wish to send to.

👀 Lookup a number

const sdk = require('messagemedia-lookups-sdk');

// Configuration parameters and credentials
lib.Configuration.basicAuthUserName = "YOUR_API_KEY"; // The username to use with basic authentication
lib.Configuration.basicAuthPassword = "YOUR_API_SECRET"; // The password to use with basic authentication

var controller = lib.LookupsController;

var phoneNumber = "YOUR_MOBILE_NUMBER";
var options = 'carrier,type';

controller.getLookupAPhoneNumber(phoneNumber, options, function(error, response, context) {
  console.log(response)
});

📕 Documentation

The NodeJS SDK Documentation can be viewed here

😕 Got Stuck?

Please contact developer support at developers@messagemedia.com or check out the developer portal at developers.messagemedia.com

Keywords

FAQs

Package last updated on 31 Jan 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc