Python service for convenient work with uCaller API
Project description
pyucallerapi
Python service for convenient work with uCaller API
Requirements
- Python 3.5 or higher.
Install
pip install pyucallerapi
Documentation uCaller api: DOC
Example
from pyucallerapi import APIUCaller
# class initialization
api = APIUCaller(
service_id=25742,
key="" # string == 32 characters
)
# receive a list of the organization's couriers
call_response = api.init_call(
phone="9999999999",
code="6123"
)
if call_response.get("status", False):
print("Good job comrade!", call_response.get("ucaller_id"))
else:
# Display error message
print(call_response.get("error", None))
# Display error code and Cyrillic decryption
print(call_response.get("code"), api.check_error_code(call_response.get("code")))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyucallerapi-0.0.3.tar.gz
(8.8 kB
view details)
File details
Details for the file pyucallerapi-0.0.3.tar.gz
.
File metadata
- Download URL: pyucallerapi-0.0.3.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62649086e768b04b7d83b73d4f6130c597f0ea87224d1709e613f20e66ad56d |
|
MD5 | 9eb80e9b12a9e48a2adf00de86d93d6f |
|
BLAKE2b-256 | 531346edf59ae4d7a0282f0df006b2932f41bd46f156bf79ecab1e5f0dce4712 |