Skip to content

tdnicola/ComplementPlease

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask API - Random Compliment Generator

Overview

The Flask API - Random Compliment Generator is a simple web service built with Flask that provides random compliments when requested. It's a fun and lighthearted API that can be integrated into various applications to spread positivity.

Features

  • Generates random compliments.
  • Provides a RESTful API endpoint to retrieve compliments.
  • Easy to use and integrate into applications.

Installation

  1. Clone the Repository:
    Clone this repository to your local machine:

  2. Install Dependencies:
    Navigate to the project directory and install the required dependencies:

Usage

  1. Run the Flask Application:
    Start the Flask application to run the API:

The API will run by default on http://localhost:5000.

  1. Access the API:
    To retrieve a random compliment, make a GET request to the following endpoint:

The API will respond with a JSON object containing the compliment.

Example Response:

{
    "compliment": "You're amazing! Keep up the great work."
}

About

Complement API for discord bot because all free ones keep breaking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages