Skip to main content

InspiroQuotes

An API using Inspiro AI quote generator.

Installation

pip install InspiroQuotes

Example

  • For General Purpose
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
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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

InspiroQuotes-1.0.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

InspiroQuotes-1.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file InspiroQuotes-1.0.2.tar.gz.

File metadata

  • Download URL: InspiroQuotes-1.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for InspiroQuotes-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bd3c7d70680ef1908a632524e4a574c56d3318b07c2e990b7290f1b0fde4351e
MD5 644132f6fa74e2d0d33596c7741186d9
BLAKE2b-256 a5ee124b00586074de5567e1263e8c1c26c3c40f74652b079eef9b871d23df61

See more details on using hashes here.

File details

Details for the file InspiroQuotes-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: InspiroQuotes-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for InspiroQuotes-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f3c82a422086349293df9916f1379314c9e914d64699c33d98de3f21e29499c
MD5 406673606d20138e99bfba5f8aabe7dc
BLAKE2b-256 9ce6330609bf3da7f6d6947b83e93a9277f6f0a2c51cf237aa99852dfad6faa3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page