Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 915 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 915 Bytes

Python-OTP-Verification

This repository allows, to create a phone number verification using sms/call OTP in python.

Python-OTP-Verification

Requirements

Setup

  • Clone the python-otp-verification into your go path and change directory to cloned repository.
$ git clone https://github.com/tiniyo-api/python-otp-verification.git
$ cd python-otp-verification
  • Setting up Virtual Environment
virtualenv env
source env/bin/activate
pip install -r requirements.txt
  • Create your Free TINIYO Account and grab your "API Key": https://www.tiniyo.com

  • Copy .env.example to .env and update it with your Tiniyo credentials.

  • Run the Phoneverify.py in your console.

Phoneverify.py

*Navigate to http://localhost:5000/phone_verification to try it out!