{ "info": { "author": "Yutao Zhang", "author_email": "yutao@recurrent.ai", "bugtrack_url": null, "classifiers": [], "description": "# Recurrent.ai DealTape SDK for Python\n\n\u6982\u8ff0\n--------\n\nDealTape\u6570\u636e\u63a8\u9001SDK\n\n\n\u5b89\u88c5\u65b9\u5f0f\n--------\n\n\u4f7f\u7528PIP\u8fdb\u884c\u5b89\u88c5\uff08\u4ee5Linux\u7cfb\u7edf\u4e3a\u4f8b\uff09\n\n.. code-block:: bash\n \n $pip install dealtape\n\n\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5b89\u88c5\u89e3\u538b\u540e\u7684\u5b89\u88c5\u5305\n\n.. code-block:: bash\n\n sudo python setup.py install\n\n\n\u5feb\u901f\u4f7f\u7528\n--------\n\n.. code-block:: python\n\n # -*- coding: utf-8 -*-\n from dealtape import CallLog, DealTapeClient\n from datetime import datetime\n\n business = 'YOUR_BUSINESS_KEY' # \u4f01\u4e1a\u7684\u552f\u4e00\u6807\u8bc6\uff0c\u5373\u5728\u4f01\u4e1aDealTape\u7cfb\u7edf\u4e2d\u7684\u4e8c\u7ea7\u57df\u540d\n\n client = DealTapeClient(business=business)\n\n item = CallLog(\n url=\"CALLLOG_AUDIO_URL\", # \u7535\u8bdd\u5f55\u97f3\u7684url\n id=\"CALLLOG_UNIQUE_IDENTIFIER\", # \u7535\u8bdd\u5728\u5ba2\u6237\u5185\u90e8\u7cfb\u7edf\u4e2d\u7684\u552f\u4e00\u6807\u793a\n staff_id=\"STAFF_ID\", # \u8be5\u7535\u8bdd\u5750\u5e2d\u7684\u552f\u4e00\u6807\u793a\n customer_id=\"CUSTOMER_ID\", # \u5ba2\u6237\u7684\u552f\u4e00\u6807\u793a\n deal_closed=True/False, # \u8be5\u7535\u8bdd\u662f\u5426\u6210\u5355\n timestamp=TIMESTAMP # \u7535\u8bdd\u7684\u62e8\u6253\u65f6\u95f4\uff08datetime.datetime\u7c7b\u578b, \u6216\u662fint\u7c7b\u578b\u7684unix\u65f6\u95f4\u6233\uff09\n )\n resp = client.push_calllog(item)\n if not resp.ok:\n print(resp.text)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rcrai/dealtape-python-sdk", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dealtape-python-sdk", "package_url": "https://pypi.org/project/dealtape-python-sdk/", "platform": "any", "project_url": "https://pypi.org/project/dealtape-python-sdk/", "project_urls": { "Homepage": "https://github.com/rcrai/dealtape-python-sdk" }, "release_url": "https://pypi.org/project/dealtape-python-sdk/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "DealTape SDK for Python", "version": "0.0.1" }, "last_serial": 4180214, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d5a79f1e5d0600161dbd784116d661d7", "sha256": "7259609e87e00e78c12b480eb4a2a5f9dba376e246ebbaa8db7eaf4b49535d18" }, "downloads": -1, "filename": "dealtape-python-sdk-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d5a79f1e5d0600161dbd784116d661d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2410, "upload_time": "2018-08-17T13:04:12", "url": "https://files.pythonhosted.org/packages/62/c2/2bf3357d07a55219e80e74d69295baf6e9356da7be5e13de32efa2a23ce8/dealtape-python-sdk-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5a79f1e5d0600161dbd784116d661d7", "sha256": "7259609e87e00e78c12b480eb4a2a5f9dba376e246ebbaa8db7eaf4b49535d18" }, "downloads": -1, "filename": "dealtape-python-sdk-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d5a79f1e5d0600161dbd784116d661d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2410, "upload_time": "2018-08-17T13:04:12", "url": "https://files.pythonhosted.org/packages/62/c2/2bf3357d07a55219e80e74d69295baf6e9356da7be5e13de32efa2a23ce8/dealtape-python-sdk-0.0.1.tar.gz" } ] }