simple RAWG.io python api wrapper
Project description
rawgpy - RAWG python api wrapper
this is a small wrapper fpr the https://RAWG.io (game database) API
usage: initialize API:
rawg = RAWG("<user-agent-here>") please supply a User-Agent that describes your project
search for a game:
results = rawg.search("<game name here>") searches for the game, and returns a list of (5) results
if you want to limit the number of results, you can chage that by doing:
results = rawg.search("<game name here>", num_results=2)
the results are GameResult objects, whihc contain all attribute the API supplies
you can request more info for a game with
game = results[0]
game.populate()
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 Distribution
Built Distributions
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 rawgpy-0.3.tar.gz.
File metadata
- Download URL: rawgpy-0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc87b9178af3b7a4a4039ddbaaf3712601942015f353e2bab28b6d454cc52d09
|
|
| MD5 |
a699709e7ee9babf5778cccca6514596
|
|
| BLAKE2b-256 |
e6385c1e2bc305a6223e0a2d6687820aa5a22654b4247177a0f256dcc92b3811
|
File details
Details for the file rawgpy-0.3-py3.6.egg.
File metadata
- Download URL: rawgpy-0.3-py3.6.egg
- Upload date:
- Size: 13.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77162c8c0b301af287555c60fd41fe0b620b979df6f3170b540f4fff050eb7ac
|
|
| MD5 |
f0e1ad23c184808033b669f758d65fb6
|
|
| BLAKE2b-256 |
1eb6f0f29a10fce3169404e9675717f11a5fdcc715ff9ebf6890d0c6134238e7
|
File details
Details for the file rawgpy-0.3-py3-none-any.whl.
File metadata
- Download URL: rawgpy-0.3-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faaede1befe4af6cdf1d0091cd55f9884c55d2b95cad9face20cf42a3dac1421
|
|
| MD5 |
2deece4556e0330a9da3549ca7a0d2c4
|
|
| BLAKE2b-256 |
852d589e624cdf14b50c48a92668c6b01eb29a79a7d28b7afec05ff7311deed5
|