https://github.com/nexmo/ni-node-async-tutorial
Demonstrates how to use Number Insight Advanced API Async
https://github.com/nexmo/ni-node-async-tutorial
Last synced: 9 months ago
JSON representation
Demonstrates how to use Number Insight Advanced API Async
- Host: GitHub
- URL: https://github.com/nexmo/ni-node-async-tutorial
- Owner: Nexmo
- Created: 2018-10-19T15:15:09.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-08-04T05:36:36.000Z (11 months ago)
- Last Synced: 2025-10-11T23:43:24.744Z (9 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 13
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Number Insight Advanced API Async
This app demonstrates how to access the Number Insight Advanced API asynchronously.
## Prerequisites
You will need:
* A [free Nexmo account](https://dashboard.nexmo.com/sign-up)
## Installation
```sh
git clone https://github.com/nexmo/ni-node-async-tutorial.git
cd ni-node-async-tutorial
npm install
```
## Setup
Rename the config file:
```sh
mv .env-example .env
```
Fill in the values in `.env` as appropriate.
### Running the App
```sh
npm start
```
The application should be available on .
### 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](https://creativecommons.org/licenses/by/4.0/), and the underlying source code used to format and display that content is licensed under the [MIT license](https://www.nexmo.com/blog/2017/07/04/local-development-nexmo-ngrok-tunnel-dr/).