Skip to content

Getting Started

ZenquotesPy is a lightweight Python package that provides easy access to motivational and inspirational quotes from the ZenQuotes.io API. This documentation page provides a strong understanding of the functions available in the zenquotespy package and help you to get started with ZenquotesPy. If you are a python developer, you can contribute through code to this package by creating an issue or a pull request in the GitHub repository.

Installation

ZenquotesPy is published as a Python package called zenquotespy and can be installed with pip. It is recommended to create a virtual environment first.

pip install zenquotespy

To update the package use this command:

pip install --upgrade zenquotespy

Quick usage

Here's a quick example of how to use it.

import zenquotespy

quote = zenquotespy.random()

print(quote)

What's Next?

Checkout the API reference page next to know more about the functions available in zenquotespy package.