{ "info": { "author": "Chris Rrapi", "author_email": "toadawes12@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "[![CircleCI](https://circleci.com/gh/crrapi/async-cleverbot.svg?style=svg)](https://circleci.com/gh/crrapi/async-cleverbot)\n[![Build Status](https://travis-ci.org/crrapi/async-cleverbot.png?branch=master)](https://travis-ci.org/crrapi/async-cleverbot)\n[![Codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://img.shields.io/badge/code%20style-black-000000.svg)\n[![PyPI version](https://badge.fury.io/py/async-cleverbot.svg)](https://badge.fury.io/py/async-cleverbot)\n[![Issues](https://img.shields.io/github/issues/crrapi/async-cse.svg?colorB=42BC14)](https://img.shields.io/github/issues/crrapi/async-cse.svg?colorB=42BC14)\n[![LICENSE](https://img.shields.io/pypi/l/async-cleverbot.svg)](https://img.shields.io/pypi/l/async-cleverbot.svg)\n[![Downloads](https://img.shields.io/pypi/dd/async-cleverbot.svg)](https://img.shields.io/pypi/dd/async-cleverbot.svg)\n[![Python](https://img.shields.io/pypi/pyversions/async-cleverbot.svg)](https://img.shields.io/pypi/pyversions/async-cleverbot.svg)\n# async_cleverbot\nAsyncio API wrapper for the Travitia Cleverbot API. (https://public-api.travitia.xyz/talk)\n# Installation\n`pip3 install -U async_cleverbot`\n# Usage\n```python\nimport async_cleverbot as ac\n\ncleverbot = ac.Cleverbot(\"Your API key here\") # Create the Cleverbot client\nresponse = await cleverbot.ask(\"How are you today?\") # Ask a question, returns async_cleverbot.cleverbot.Response\nprint(response.text) # Text from the Response object\nawait cleverbot.close()\n```\n# Getting an API key\nJoin the [Travitia API Discord server](https://discord.gg/C98nsXt) and use the `> api` command to request an API key.\n![Getting a key](https://i.imgur.com/cUJsM3i.png \"Getting a key\")\n# Using context\n### This API supports a context parameter for background context, so let's make use of it!\n```python\nimport async_cleverbot as ac\n\ncleverbot = ac.Cleverbot(\"Your API key here\")\ncleverbot.set_context(ac.DictContext(cleverbot)) # Actually adds the context storage\n\nresponse = await cleverbot.ask(\"How are you today?\", 246938839720001536) # 2nd param is an identifier, this can be a user id!\nprint(response.text)\n\nresponse = await cleverbot.ask(\"I'm doing good too.\", 246938839720001536)\nprint(response.text)\nprint(cleverbot.context._storage) # \"How are you today?\"\nawait cleverbot.close()\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/crrapi/async-cleverbot", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "async-cleverbot", "package_url": "https://pypi.org/project/async-cleverbot/", "platform": "", "project_url": "https://pypi.org/project/async-cleverbot/", "project_urls": { "Homepage": "https://github.com/crrapi/async-cleverbot" }, "release_url": "https://pypi.org/project/async-cleverbot/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Asyncio API wrapper for the Travitia Cleverbot API. (https://public-api.travitia.xyz/talk)", "version": "0.1.2" }, "last_serial": 4643893, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eadb1aecbf2b0c2ff559adca5112a0d2", "sha256": "62c04e9faf036bb8984f636ec629c8147e0220ea2863fea7dee9ec43c9fdce8d" }, "downloads": -1, "filename": "async_cleverbot-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "eadb1aecbf2b0c2ff559adca5112a0d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3469, "upload_time": "2018-11-22T11:27:54", "url": "https://files.pythonhosted.org/packages/bd/e7/ce0c11cb246bf9f0ececd8994ef507982561593853b416cff6512a09a568/async_cleverbot-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7b9ee59ef08736488d089c0c4e25ccc", "sha256": "554df047eadfa0760251287b8a3b4c9bd3a95716a88e447a736645ca02666263" }, "downloads": -1, "filename": "async_cleverbot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c7b9ee59ef08736488d089c0c4e25ccc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2084, "upload_time": "2018-11-22T11:27:56", "url": "https://files.pythonhosted.org/packages/b1/c7/8fb5cc7097cc8d14e7248d86495cf94dee81c33890d1830013eb972293e0/async_cleverbot-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9808de272095fd0da6b48351cbbee9f7", "sha256": "b63d9909032b3146d61ea21b7c8b2730b785c3a1a1ccce706b4f68434a2b23ec" }, "downloads": -1, "filename": "async_cleverbot-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9808de272095fd0da6b48351cbbee9f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3500, "upload_time": "2018-11-22T11:30:57", "url": "https://files.pythonhosted.org/packages/7f/d7/ea1c244e454298f1511b1a25867d118e0e1872dd23ad33019a0b4accb753/async_cleverbot-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f98f3647bb84973806c4541105147845", "sha256": "09cc11f6a1aac0d24bf97b89aad383162a1214146faa5bcf167499e2bacb415e" }, "downloads": -1, "filename": "async_cleverbot-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f98f3647bb84973806c4541105147845", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2099, "upload_time": "2018-11-22T11:30:59", "url": "https://files.pythonhosted.org/packages/ba/3b/c1f288423ed8ccce1afb58e9d93de492ead7f76802b7087bbd8f4a270d26/async_cleverbot-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c7646c04247b875d176e5317cb3e1742", "sha256": "acf711cf9afb7baa1518b6854ab4b3fb7240e2c1b054be2ba92496bafc5d4a4d" }, "downloads": -1, "filename": "async_cleverbot-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c7646c04247b875d176e5317cb3e1742", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3520, "upload_time": "2018-11-22T11:42:53", "url": "https://files.pythonhosted.org/packages/23/20/88b3dfe6b2ed18c6c9e80ba480200836b98f3832d2c25dd2fecd77c5bee5/async_cleverbot-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b407434704205d115428bf24fc7f150", "sha256": "2a1b78c5b978e4e0c627bdaf0fe9c5f67aae7ecc418e3bd66e8b06d865c01b09" }, "downloads": -1, "filename": "async_cleverbot-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0b407434704205d115428bf24fc7f150", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2099, "upload_time": "2018-11-22T11:42:54", "url": "https://files.pythonhosted.org/packages/fe/6f/094df6c01e02b70b2889c230da0dce8fc232dec8511d81f68965767ccfee/async_cleverbot-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "464795a70f4201a8f357a23372b7774f", "sha256": "98f7b5f27ec791d1414c85feed95399d1efe57d1993bc49595c57865a2584911" }, "downloads": -1, "filename": "async_cleverbot-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "464795a70f4201a8f357a23372b7774f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3521, "upload_time": "2018-11-22T12:07:36", "url": "https://files.pythonhosted.org/packages/21/0d/540a630527129c8777ef9ce44a271c2621589f498f2c60ef9f1095e2b723/async_cleverbot-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d9e44e3adb0960ccc74c4a08ca4c9e4b", "sha256": "255f1aaae4c1adbb9f5110c306d5a97e83fbec951b1d9b2c3bc24bc1f6b44b8f" }, "downloads": -1, "filename": "async_cleverbot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d9e44e3adb0960ccc74c4a08ca4c9e4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2103, "upload_time": "2018-11-22T12:07:38", "url": "https://files.pythonhosted.org/packages/97/ab/9d113c34bdec0d4b0ce93400be1408706a3eae476f4a7bbfe15578d977b6/async_cleverbot-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "bfb73dc555486ca3c5cb9c61fc424e23", "sha256": "a80082a08e8cd5595a6903f32362291950f07baf1225a1a48f329443f8d21c35" }, "downloads": -1, "filename": "async_cleverbot-0.0.5.tar.gz", "has_sig": false, "md5_digest": "bfb73dc555486ca3c5cb9c61fc424e23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2107, "upload_time": "2018-11-22T12:17:21", "url": "https://files.pythonhosted.org/packages/ce/5e/a6965157201f013f55622b41fbf1421d1fee1f95f9dd69cdec2e473697f8/async_cleverbot-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "51f49a879bf69261be45f103a364ec9d", "sha256": "7f3d1a2d41b08172f699b3f33c209f06de5213daea0806d8b7e6937e41d23581" }, "downloads": -1, "filename": "async_cleverbot-0.0.6.tar.gz", "has_sig": false, "md5_digest": "51f49a879bf69261be45f103a364ec9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2335, "upload_time": "2018-11-23T11:33:28", "url": "https://files.pythonhosted.org/packages/c4/97/8d6a595b7a84d2552720c36718fec0ec604d07adc58301da2166a1594819/async_cleverbot-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "841c262e2f1be075c5655f70bf9d8602", "sha256": "b2ff0734d6858308ddec848bb80d0d8adb9d048505ce1c2eabf3aca47e63b4ef" }, "downloads": -1, "filename": "async_cleverbot-0.0.7.tar.gz", "has_sig": false, "md5_digest": "841c262e2f1be075c5655f70bf9d8602", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2327, "upload_time": "2018-11-23T11:37:21", "url": "https://files.pythonhosted.org/packages/12/12/6389fc6e1dda42a17b63a471f681677ad083d01209aab38496543fe27cb4/async_cleverbot-0.0.7.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "1bfce404b4c86bc16b5e27138dd0c295", "sha256": "35cb6fc8876a649d41a62429a8cc96ced39e43c9ba713ea014eb4d86599cb297" }, "downloads": -1, "filename": "async_cleverbot-0.1.tar.gz", "has_sig": false, "md5_digest": "1bfce404b4c86bc16b5e27138dd0c295", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2663, "upload_time": "2018-12-01T14:23:30", "url": "https://files.pythonhosted.org/packages/8e/b8/65ee5c9e38677ac1e244513e3e5f959708a0080c51301d0939e61cad6462/async_cleverbot-0.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ba9be8c1e71159218a920e6535e4e161", "sha256": "db2239d9163b4921d06799feaf7d269a9cb07afb8ab177db1bd762a71ea005aa" }, "downloads": -1, "filename": "async_cleverbot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ba9be8c1e71159218a920e6535e4e161", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3726, "upload_time": "2018-12-29T11:52:59", "url": "https://files.pythonhosted.org/packages/4f/86/f631b7afc7747dba60942c9b3bb30db76930a7278bd8e79834f2488ae115/async_cleverbot-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba9be8c1e71159218a920e6535e4e161", "sha256": "db2239d9163b4921d06799feaf7d269a9cb07afb8ab177db1bd762a71ea005aa" }, "downloads": -1, "filename": "async_cleverbot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ba9be8c1e71159218a920e6535e4e161", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3726, "upload_time": "2018-12-29T11:52:59", "url": "https://files.pythonhosted.org/packages/4f/86/f631b7afc7747dba60942c9b3bb30db76930a7278bd8e79834f2488ae115/async_cleverbot-0.1.2.tar.gz" } ] }