Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shreyamalogi/random-quotes-generator

"🎤🌐 Generate Random Kanye Quotes with REST API! 🚀"
https://github.com/shreyamalogi/random-quotes-generator

begginer-friendly-explanation python requests rest-api shreyamalogi tkinter

Last synced: 2 months ago
JSON representation

"🎤🌐 Generate Random Kanye Quotes with REST API! 🚀"

Awesome Lists containing this project

README

        

# Random Quotes Generator 🎤🔥

Welcome to the beginner-friendly project - " Random Quotes Generator"

Crafted and taught by **Shreya Malogi!** 🌐

[![GitHub stars](https://img.shields.io/github/stars/shreyamalogi/Random-quotes-generator.svg?style=social)](https://github.com/shreyamalogi/Random-quotes-generator/stargazers)

### Project Details: 💻🌐📅✍️

- **Functionality:** Fetches and displays random Kanye West quotes using Python's Tkinter.
- **Tech Stack:** `Python`, `Tkinter`, `requests`, `Kayne Rest API`
- **Author:** [@shreyamalogi](https://github.com/shreyamalogi/)
- **Year of Project:** 2021

---

# Table of Contents

- [Introduction](#introduction)
- [Features](#features)
- [Dependencies](#dependencies)
- [How It Works](#how-it-works)
- [Installation](#installation)
- [Running the Script](#running-the-script)
- [Contribution](#contribution)
- [License](#license)

# Introduction

🎤🔀 A Python Tkinter GUI app that delivers a fresh dose of random Kanye West quotes with just a click.

## Features

- Fetches random Kanye West quotes from 🌟 [https://api.kanye.rest](https://api.kanye.rest).
- Displays the fetched quote on a visually appealing GUI.
- User-friendly interface with a button to get a new quote.

## Dependencies

- [Tkinter](https://docs.python.org/3/library/tkinter.html): Python's standard GUI package.
- [Requests](https://docs.python-requests.org/en/latest/): Used for making HTTP requests to the Kanye West quotes API.

## How It Works

1. The app initializes a Tkinter window with a canvas and a button.
2. The canvas displays a background image and the current Kanye West quote.
3. Upon clicking the button, the `get_quote` function is triggered.
4. The function makes an API call to [https://api.kanye.rest](https://api.kanye.rest) using the `requests` library.
5. The received quote is then displayed on the canvas.

## Installation

Clone the repository to your local machine:

```bash
git clone https://github.com/shreyamalogi/Random-quotes-generator.git
```

Ensure you have the necessary dependencies installed by running:

```bash
pip install requests
```

## Running the Script

Navigate to the project directory:

```bash
cd Random-quotes-generator
```

Execute the following command:

```bash
python main.py
```

## Contribution

⭐📜✨ Feel the Kanye magic within you? Contribute to this rhythmic project and make it even more dynamic. Don't forget to Star the project! ⭐

## License

📜 This project is licensed under the spell of the MIT License. Share the Kanye vibes responsibly!

MIT License

Copyright (c) 2021 Shreya Malogi

Stay Groovy! 🌍🎤