Metadata-Version: 2.1
Name: giantbomb-redux
Version: 1.0.4
Summary: A Python wrapper for the Giantbomb API.
Home-page: https://github.com/ganonmaster/GiantBomb-redux
Author: Hidde Jansen <hidde@hiddejansen.com>
Author-email: hidde@hiddejansen.com
License: MIT
Keywords: giantbomb api wrapper
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.22.0)
Requires-Dist: dacite (>=1.0.2)

# GiantBomb-Redux

A modern Python wrapper for the Giantbomb API. Forked from [xupisco](https://github.com/xupisco)'s initial API wrapper and since (poorly) rewritten for Python 3.7.

Please use it to make cool stuff, and feel free to slide into the issue tracker if you have suggestions for improvements. Pull requests welcome!

**Get your API Key at https://giantbomb.com/api/**

## Usage:  

    import giantbomb  
    gb = giantbomb.Api('YOUR_KEY', 'YOUR_USER_AGENT')

## Examples:

```python
from giantbomb import giantbomb
gb = giantbomb.Api('<YOUR API KEY>', 'API test')

# Search for games
search_results = gb.search('Jet Set Radio')
print(search_results)
# Outputs: [<20096: Jet Grind Radio>, <12117: JSRF: Jet Set Radio Future>, <40601: JetSet Secrets>, <17531: Jet Set Willy: Online>, <42406: Radio the Universe>, <5005: Jet Set Willy>, <2633: Jet>, <46238: Jet-Getters>, <73975: SoulSet>, <47155: Jet Gunner>]

# Get Game data
game_data = gb.get_game(20096)
print(game_data)
# Outputs: 

# List Platforms
platforms = gb.list_platforms()
print(platforms)
# Outputs: [<1: Amiga>, <3: Game Boy>, <4: Game Boy Advance>, <5: Game Gear>...]

# Get a specific platform
platform = gb.get_platform(37)
print(platform)
# Outputs: <37: Dreamcast>
```

