This API is designed to manage events, signups, and random videos, all backed by a Google Sheet. The application provides endpoints to create, retrieve, and delete events and signups, and fetch random videos based on a type.
These instructions will help you get the project up and running on your local machine.
You will need to have Python 3.6+ and pip installed on your system.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install the required dependencies using the following command:
pip install FlaskMake sure to set up the Google Sheets API and include the appropriate credentials file and client_secret.json in your directory.
You can run the application using the following command:
python3 app.pyngrok http 5001
** The routes have been deprecated and are now substituted by the function located in /gateway/chatGPT_handler **
Retrieves all future events for a specific channel ID.
- Query parameter:
channel_id
Adds an event to the system.
- Parameters:
date,time,organizer_id,organizer_name,channel_id
Cancels an event by its unique ID.
Fetches participants for a given event ID.
Adds a signup to an event.
- Parameters:
event_id,user_id,user_name
Cancels a signup by its unique ID.
Sends a random video from the Google Sheet based on the specified video type.
- Finetune the GPT onversation
- Rewrite README.md
Feel free to fork the repository and submit pull requests.