Skip to main content

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

Release files for rawgpy 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rawgpy 1.0.3
File Size Uploaded
rawgpy-1.0.3.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rawgpy 1.0.3
File Interpreter ABI Platform
rawgpy-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / rawgpy-1.0.3.tar.gz

Download URL rawgpy-1.0.3.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3c6a7f7cfdcb769d9e5da40da648e54fcb7e9b4bb6fcfed9e1346320337bf944
BLAKE2b-256 checksum
How to use checksums
854718fc6612eab48c93abead20901b7629ee42a0e128ecf7bc02c68c35f273e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / rawgpy-1.0.3-py3-none-any.whl

Download URL rawgpy-1.0.3-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e04f0025d4a2602498733dd4fc66605b2089567660cfcc97e953ef9e69e1aeb4
BLAKE2b-256 checksum
How to use checksums
829b9dfedf1c928d24945702c06ebb216406a6daa1b2abdd977425473e4de361
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

0.4

2 release files

0.3

3 release files

0.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page