Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/verifykit/verifykit-sdk-python
VerifyKit SDK for Python
https://github.com/verifykit/verifykit-sdk-python
otp phone phone-number phone-numbers python sdk sms sms-verification telegram verification whatsapp whatsapp-api
Last synced: 24 days ago
JSON representation
VerifyKit SDK for Python
- Host: GitHub
- URL: https://github.com/verifykit/verifykit-sdk-python
- Owner: verifykit
- License: mit
- Created: 2019-11-07T08:37:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T12:08:33.000Z (almost 5 years ago)
- Last Synced: 2024-10-01T15:05:49.401Z (about 1 month ago)
- Topics: otp, phone, phone-number, phone-numbers, python, sdk, sms, sms-verification, telegram, verification, whatsapp, whatsapp-api
- Language: Python
- Homepage: https://verifykit.com
- Size: 11.7 KB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VerifyKit
VerifyKit is the next gen phone number validation system. Users can easily verify their phone numbers without the need of entering phone number or a pin code.
## Requirements
- Python 2.7+
- Python 3.6+## Installation
You can install pip package
```bash
pip install VerifyKit
```## Usage
```python
from VerifyKit import Verify
verify = Verify(server_key="{SERVER-KEY}")
verify.validation(session_id='{SESSION-ID}')if verify.is_valid:
#Validation success.
print(verify.response())elif verify.is_valid == False:
#Validation fail.
print(verify.response())
```### Validation Success Response
```json
{
"validationType": "whatsapp",
"validationDate": "2019-11-07 07:35:28",
"phoneNumber": "+905555555555"
}
```### Validation Fail Response
```json
{
"status": false,
"errorCode": "ErrorCode",
"errorMessage": "Error Message",
"requestId": "app02-REQ-5dc3f853a9b84"
}
```## Author
VerifyKit is owned and maintained by [VerifyKit DevTeam](mailto:[email protected]).
## License
The MIT License
Copyright (c) 2019-2020 VerifyKit. [http://verifykit.com](http://verifykit.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.