Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for giantbomb-redux, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size giantbomb_redux-1.0.6-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page