Skip to content

An API on top of libphonenumber to check if a phone number is valid and if so, is it land line or mobile.

License

Notifications You must be signed in to change notification settings

RagtagOpen/phone-number-validator

Repository files navigation

phone-number-validator

An API on top of libphonenumber to check if a phone number is valid and if so, is it land line or mobile.

Development

You'll need Python 3.6 installed, even though you'll probably have Python 2.7 or 3.7 installed. You can use pyenv to help you with that.

Once you have Python 3.6 available, you can install dependencies with pipenv:

pipenv sync --dev

Then enter the virtual environment that Pipenv created for you:

pipenv shell

(You'll see your prompt get pre-pended with the virtual environment name)

Then you can try running it locally:

FLASK_APP=run.py FLASK_DEBUG=true  flask run

and browse to http://127.0.0.1:5000/v1/number/validate?number=4158675309 to try the API out.

About

An API on top of libphonenumber to check if a phone number is valid and if so, is it land line or mobile.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages