InspiroQuotes


NameInspiroQuotes JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/SOME-1HING/InspiroQuotes
SummaryAn API using Inspiro AI quote generator.
upload_time2023-02-07 21:08:32
maintainer
docs_urlNone
authorSOME1HING
requires_python
licenseGNU General Public License v3.0
keywords telegram inspiro quote ai inspiroquoute bot api gban scan
VCS
bugtrack_url
requirements requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # InspiroQuotes

An API using Inspiro AI quote generator.

## Installation

```Python
pip install InspiroQuotes
```

## Example

- For General Purpose

```Python
from InspiroQuotes import Quote

Q = Quote()

img_link1 = Q.quote()
img_link2 = Q.quote()
text_quote = Q.text_quote()

print(img_link1)
print(img_link2)
print(text_quote)

```

- For Telegram

```Python
from InspiroQuotes import Quote
from pyrogram import filters, Client
from pyrogram.types import Message

Q = Quote()
pbot = Client("PyroBot", api_id="API_ID", api_hash="API_HASH", bot_token="TOKEN")


@pbot.on_message(filters.command("quote"))
async def sauce(_, message: Message):
    quote_url = await Q.quote()
    return await message.reply_photo(photo=quote_url)


@pbot.on_message(filters.command("tquote"))
async def sauce(_, message: Message):
    text_quote = await Q.text_quote()
    return await message.reply_text(text_quote)

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SOME-1HING/InspiroQuotes",
    "name": "InspiroQuotes",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "telegram,inspiro,quote,ai,inspiroquoute,bot,api,gban,scan",
    "author": "SOME1HING",
    "author_email": "yashprakash2005@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a5/ee/124b00586074de5567e1263e8c1c26c3c40f74652b079eef9b871d23df61/InspiroQuotes-1.0.2.tar.gz",
    "platform": null,
    "description": "# InspiroQuotes\r\n\r\nAn API using Inspiro AI quote generator.\r\n\r\n## Installation\r\n\r\n```Python\r\npip install InspiroQuotes\r\n```\r\n\r\n## Example\r\n\r\n- For General Purpose\r\n\r\n```Python\r\nfrom InspiroQuotes import Quote\r\n\r\nQ = Quote()\r\n\r\nimg_link1 = Q.quote()\r\nimg_link2 = Q.quote()\r\ntext_quote = Q.text_quote()\r\n\r\nprint(img_link1)\r\nprint(img_link2)\r\nprint(text_quote)\r\n\r\n```\r\n\r\n- For Telegram\r\n\r\n```Python\r\nfrom InspiroQuotes import Quote\r\nfrom pyrogram import filters, Client\r\nfrom pyrogram.types import Message\r\n\r\nQ = Quote()\r\npbot = Client(\"PyroBot\", api_id=\"API_ID\", api_hash=\"API_HASH\", bot_token=\"TOKEN\")\r\n\r\n\r\n@pbot.on_message(filters.command(\"quote\"))\r\nasync def sauce(_, message: Message):\r\n    quote_url = await Q.quote()\r\n    return await message.reply_photo(photo=quote_url)\r\n\r\n\r\n@pbot.on_message(filters.command(\"tquote\"))\r\nasync def sauce(_, message: Message):\r\n    text_quote = await Q.text_quote()\r\n    return await message.reply_text(text_quote)\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3.0",
    "summary": "An API using Inspiro AI quote generator.",
    "version": "1.0.2",
    "split_keywords": [
        "telegram",
        "inspiro",
        "quote",
        "ai",
        "inspiroquoute",
        "bot",
        "api",
        "gban",
        "scan"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9ce6330609bf3da7f6d6947b83e93a9277f6f0a2c51cf237aa99852dfad6faa3",
                "md5": "406673606d20138e99bfba5f8aabe7dc",
                "sha256": "0f3c82a422086349293df9916f1379314c9e914d64699c33d98de3f21e29499c"
            },
            "downloads": -1,
            "filename": "InspiroQuotes-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "406673606d20138e99bfba5f8aabe7dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2389,
            "upload_time": "2023-02-07T21:08:29",
            "upload_time_iso_8601": "2023-02-07T21:08:29.668068Z",
            "url": "https://files.pythonhosted.org/packages/9c/e6/330609bf3da7f6d6947b83e93a9277f6f0a2c51cf237aa99852dfad6faa3/InspiroQuotes-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5ee124b00586074de5567e1263e8c1c26c3c40f74652b079eef9b871d23df61",
                "md5": "644132f6fa74e2d0d33596c7741186d9",
                "sha256": "bd3c7d70680ef1908a632524e4a574c56d3318b07c2e990b7290f1b0fde4351e"
            },
            "downloads": -1,
            "filename": "InspiroQuotes-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "644132f6fa74e2d0d33596c7741186d9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2397,
            "upload_time": "2023-02-07T21:08:32",
            "upload_time_iso_8601": "2023-02-07T21:08:32.058834Z",
            "url": "https://files.pythonhosted.org/packages/a5/ee/124b00586074de5567e1263e8c1c26c3c40f74652b079eef9b871d23df61/InspiroQuotes-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-07 21:08:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "SOME-1HING",
    "github_project": "InspiroQuotes",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "inspiroquotes"
}
        
Elapsed time: 0.11680s