Skip to main content

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


Download files

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

Source Distribution

brainyquote_api-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

brainyquote_api-0.0.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page