This app demonstrates how to access the Number Insight Advanced API asynchronously.
You will need:
git clone https://github.com/nexmo/ni-node-async-tutorial.git
cd ni-node-async-tutorial
npm install
Rename the config file:
mv .env-example .env
Fill in the values in .env
as appropriate.
npm start
The application should be available on http://localhost:5000.
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.
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.