Skip to main content python api wrapper

Project description

RAWGpy quickstart

The RAWGpy API wrapper uses the rawgpy.rawg.RAWG as a main class that the users accesses.

You can use the RAWGpy wrapper with or without authenticating.

import rawgpy

rawg = rawgpy.RAWG("User-Agent, this should identify your app")
results ="Warframe")  # defaults to returning the top 5 results
game = results[0]
game.populate()  # get additional info for the game



for store in game.stores:

rawg.login("", "somepassword")

me = rawg.current_user()

print( # print my name, equivalent to print(self.username)

me.populate() # gets additional info for the user

for game in me.playing:
    print( # prints all the games i'm currently playing

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 rawgpy, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size rawgpy-1.0.3-py3-none-any.whl (26.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rawgpy-1.0.3.tar.gz (10.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page