This repository contains a simple console application for recommending anime based on user preferences. The application interacts with the "Anime Database" API to fetch relevant data and presents recommendations to the user.
- Watch Type Selection: Choose between watching a movie, or TV series, or get a random recommendation.
- Episode Preferences: Specify preferences for the number of episodes for TV series.
- Genre Selection: Select the preferred mood or genre for anime recommendations.
- Results Count: Choose the number of anime results you want to see.
-
Clone the repository to your local machine:
git clone https://github.com/your-username/anime-recommendation.git
-
Navigate to the project directory:
cd anime-recommendation
-
Run the main script:
python anime-rec.py
Ensure that you have a valid API key for the "Anime Database" API. You can obtain the key by signing up on the RapidAPI website.
Replace the placeholder 'X-RapidAPI-Key' in the 'headers' dictionary in 'anime-rec.py' with your actual API key.
headers = {
"X-RapidAPI-Key": "your-api-key-here",
"X-RapidAPI-Host": "anime-db.p.rapidapi.com"
}