This Python script fetches and displays information about video games using the RAWG API. Simply enter the name of a game, and the script will provide details such as the game's release date, rating, description, and background image.
- Fetches game information from the RAWG API.
- Displays game name, release date, rating, description, and background image.
- User-friendly prompts for game search.
- Error handling for network issues and invalid input.
- Python 3.x
requests
library
-
Clone the repository:
git clone https://github.com/veddevv/vgde.git cd vgde
-
Install dependencies:
pip install -r requirements.txt
-
Set the
RAWG_API_KEY
environment variable with your actual RAWG API key:export RAWG_API_KEY='your_api_key_here'
-
Run the script:
python vgde.py
-
Enter the name of the game when prompted.
- Enable developer mode for extra technical details by setting the
DEVELOPER_MODE
flag toTrue
in the script.
- Contributions are welcome! Please fork the repository and submit a pull request.
- This project is licensed under the GPL Version 3.0 License.