Skip to main content

RAWG.io python api wrapper

Project description

RAWGpy quickstart

The RAWGpy RAWG.io 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 = rawg.search("Warframe")  # defaults to returning the top 5 results
game = results[0]
game.populate()  # get additional info for the game

print(game.name)

print(game.description)

for store in game.stores:
    print(store.url)

rawg.login("someemail@example.com", "somepassword")

me = rawg.current_user()

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

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

for game in me.playing:
    print(game.name) # 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.

Source Distribution

rawgpy-1.0.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

rawgpy-1.0.3-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file rawgpy-1.0.3.tar.gz.

File metadata

  • Download URL: rawgpy-1.0.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for rawgpy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 3c6a7f7cfdcb769d9e5da40da648e54fcb7e9b4bb6fcfed9e1346320337bf944
MD5 acb80883c628445f664d9837c6e2c6ab
BLAKE2b-256 854718fc6612eab48c93abead20901b7629ee42a0e128ecf7bc02c68c35f273e

See more details on using hashes here.

File details

Details for the file rawgpy-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: rawgpy-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for rawgpy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e04f0025d4a2602498733dd4fc66605b2089567660cfcc97e953ef9e69e1aeb4
MD5 e90e49c5968f459ddaedcd4bd8f06510
BLAKE2b-256 829b9dfedf1c928d24945702c06ebb216406a6daa1b2abdd977425473e4de361

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page