vgde
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.
Features
- 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, invalid input, and missing RAWG API key.
- Improved logging configuration for better debugging.
- Graceful handling of non-integer request timeout values.
Requirements
- Python 3.x
requests
library
Installation
- Clone the repository:
git clone https://github.com/veddevv/vgde.git
cd vgde
- Install dependencies:
pip install -r requirements.txt
Usage
- Set the
RAWG_API_KEY
environment variable with your actual RAWG API key:
RAWG_API_KEY='your_api_key_here'
- Run the script:
- Enter the name of the game when prompted.
Developer Mode
- Enable developer mode for extra technical details by setting the
DEVELOPER_MODE
flag to True
in the script.
Contributing
- Contributions are welcome! Please fork the repository and submit a pull request.
License
- This project is licensed under the GPL Version 3.0 License.