Skip to content

BROKEN - A tool that scrapes official TRAI NCCP registry to return DND status of a given number. Useful for telecalling applications.

Notifications You must be signed in to change notification settings

RakhithJK/dnd-checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BROKEN

TRAI has closed their NCCP registry search. Therefore, this tool no longer works, sorry!

DND Checker

A tool that scrapes official TRAI NCCP registry (http://www.nccptrai.gov.in/nccpregistry/search.misc) to return DND status of a given number. Useful for telecalling applications.

How to run?

  • Clone or download the repo.
  • Install python and pip in your machine if not installed already.
  • cd to the repo folder and run pip install -r requirements.txt to install dependent Python modules.
    • Note: You can also use virtualenv tool to create a Python virtual environemnt and install dependencies within it. I highly recommend this procedure as it keeps your system pip clean.
  • Run the code:
    • As a web app: Run app.py to start the Flask server. You can then check DND of the number using the endpoint http://localhost:5000/dnd_status/9876543210
    • As standalone code: Uncomment the print statement at the end of the nccp_lib.py file and run the file (python nccp_lib.py) directly from your console.

How is it different from other free tools online?

  • Data fetched directly from the TRAI NCCP registry makes it a reliable source.
  • Free and open source: no need to pay for services - download the code and loop it over your dataset to get bulk DND status.

Legal aspects

As of 14 July 2019, TRAI does not post any copyright message in the NCCP registry search website (http://www.nccptrai.gov.in/nccpregistry/search.misc). However, to avoid disputes during commercial use, discuss the usage of this tool with your legal team/advisor.

About

BROKEN - A tool that scrapes official TRAI NCCP registry to return DND status of a given number. Useful for telecalling applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%