pyucallerapi


Namepyucallerapi JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryPython service for convenient work with uCaller API
upload_time2022-12-28 22:08:56
maintainer
docs_urlNone
authorkebrick
requires_python>=3.5
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyucallerapi

## Python service for convenient work with uCaller API

### Requirements
- Python 3.5 or higher.

### Install
    pip install pyucallerapi
## Documentation uCaller api: [DOC](https://ucaller.ru/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"))) 



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pyucallerapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "",
    "author": "kebrick",
    "author_email": "ruban.kebr@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/53/13/46edf59ae4d7a0282f0df006b2932f41bd46f156bf79ecab1e5f0dce4712/pyucallerapi-0.0.3.tar.gz",
    "platform": null,
    "description": "# pyucallerapi\n\n## Python service for convenient work with uCaller API\n\n### Requirements\n- Python 3.5 or higher.\n\n### Install\n    pip install pyucallerapi\n## Documentation uCaller api: [DOC](https://ucaller.ru/doc)\n### Example\n    from pyucallerapi import APIUCaller\n\n    # class initialization\n    api = APIUCaller(\n        service_id=25742,\n        key=\"\" # string == 32 characters\n    )\n    \n    # receive a list of the organization's couriers\n    call_response = api.init_call(\n        phone=\"9999999999\",\n        code=\"6123\"\n    )\n\n    if call_response.get(\"status\", False):\n        print(\"Good job comrade!\", call_response.get(\"ucaller_id\"))\n    else:\n        # Display error message\n        print(call_response.get(\"error\", None))  \n\n        # Display error code and Cyrillic decryption\n        print(call_response.get(\"code\"), api.check_error_code(call_response.get(\"code\"))) \n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python service for convenient work with uCaller API",
    "version": "0.0.3",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "9eb80e9b12a9e48a2adf00de86d93d6f",
                "sha256": "c62649086e768b04b7d83b73d4f6130c597f0ea87224d1709e613f20e66ad56d"
            },
            "downloads": -1,
            "filename": "pyucallerapi-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "9eb80e9b12a9e48a2adf00de86d93d6f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 8762,
            "upload_time": "2022-12-28T22:08:56",
            "upload_time_iso_8601": "2022-12-28T22:08:56.649719Z",
            "url": "https://files.pythonhosted.org/packages/53/13/46edf59ae4d7a0282f0df006b2932f41bd46f156bf79ecab1e5f0dce4712/pyucallerapi-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-28 22:08:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "pyucallerapi"
}
        
Elapsed time: 0.05759s