A Python wrapper for the Giantbomb API.
Project description
GiantBomb-Redux
A modern Python wrapper for the Giantbomb API. Forked from 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:
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>
# List genres
genres = gb.list_genres()
print(genres[0])
# Outputs: Genre(id=1, guid='3060-1', name='Action'...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file giantbomb_redux-1.0.6-py3-none-any.whl.
File metadata
- Download URL: giantbomb_redux-1.0.6-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86176b24d64917d8144c3e3aef4e1fb9bdc88d985e51f594720f3912a3347343
|
|
| MD5 |
3fb8540c63ecd9ee1d88aaec2a575c9b
|
|
| BLAKE2b-256 |
56705eebe41bfcb6a0fdc03d96c66b6a53fe0c1274bfa76e05c93ad0a51ccd74
|