UNOFFICIAL API for brainyquotes.com
Project description
DISCLAIMER
This repository is not at all associated with brainyquote.com . The software is only to be used for educational purposes only. By downloading this code you agree with this disclaimer and any misuse is not held in responsibility with the author.
brainyquote-api
UNOFFICIAL API for brainyquotes.com . Must have >= Python 3.7 installed for this program to function properly.
Installation
pip install brainyquote-api
Usage
from brainyquote_api import quote
# Example of this module in use.
# This is a tool used to scrape the brainyquote.com page for quotes based on the specified category
# It returns a randomised quote based on the maximum page you want the scraping tool to go through
# An example of this tool in action would be this
quote = quoteCall(category()[79], 3) # This would return the randomised quote from the specified category given by category()[79]
# This function returns a list of all categories on the website and when you call the quoteCall and use category()[*index value*] then it uses the specified category according to its index value in the list
categories = category()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brainyquote_api-0.0.1.tar.gz.
File metadata
- Download URL: brainyquote_api-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7af1159813439dfc5a5869cee98bb36d42a91ec579e8d5ec634815e2b2c597e1
|
|
| MD5 |
62600d61165cddd5f87efa86d01a4707
|
|
| BLAKE2b-256 |
a3711b3feb142d456eb38f7613e12d02a6de6242640b7a29a639e5d61318dc5a
|
File details
Details for the file brainyquote_api-0.0.1-py3-none-any.whl.
File metadata
- Download URL: brainyquote_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5cc0d131d4b256e0dc57a71142ac1e3e80588b685f692fe3d259fd7918173ff
|
|
| MD5 |
bddb6bc3c0a94dc9d5876c3ad58628a2
|
|
| BLAKE2b-256 |
57c81db7d7d6aada0d0f358ecee9002ae0708c82eec61eda7b86395d6e0e817d
|