Skip to content

Demonstrates how to use Number Insight Advanced API Async

Notifications You must be signed in to change notification settings

Nexmo/ni-node-async-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Insight Advanced API Async

This app demonstrates how to access the Number Insight Advanced API asynchronously.

Prerequisites

You will need:

Installation

git clone https://github.com/nexmo/ni-node-async-tutorial.git
cd ni-node-async-tutorial
npm install

Setup

Rename the config file:

mv .env-example .env

Fill in the values in .env as appropriate.

Running the App

npm start

The application should be available on http://localhost:5000.

Using the App

Enter the following URL in your browser's address bar, replacing 447700900000 with the number that you want to get insight data for, and demo.ngrok.io with your public web server name or ngrok host name:

https://demo.ngrok.io/insight/447700900000

The application displays the Number Insight Advanced API response data in your console.

License

The content of this project itself is licensed under the Creative Commons Attribution 4.0 International license, and the underlying source code used to format and display that content is licensed under the MIT license.

About

Demonstrates how to use Number Insight Advanced API Async

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published