Export public user's collections from the rawg.io video game database.
Project description
rawg_export_user_collections
Export public user's collections from the RAWG.IO video game database.
Installation
pip install rawg_export_user_collections
Options
--user_slug USER_SLUG User slug from which we get collections.
--export_folder_path EXPORT_FOLDER_PATH Path where to export the file.
Usage
-
Get user slug from user profile page in rawg.io:
-
Run command:
rawg_export_user_collections --user_slug=user_slug --export_folder_path=F:\Backup
-
Exported json:
{ "count": 2, "collections": [ { "id": 25121, "name": "Test collection 2", "slug": "test-collection-2-2", "url": "https://rawg.io/collections/test-collection-2-2", "description": "", "games_count": 2, "created": "2022-10-17T16:46:55.253839Z", "updated": "2022-10-17T16:47:55.254037Z", "games": [ { "id": 19369, "name": "Call of Duty", "slug": "call-of-duty", "url": "https://rawg.io/games/call-of-duty", "released": "2003-10-29", "tba": false, "rating": 4.19, "updated": "2022-10-16T17:47:34", "genres": [ "Action", "Shooter" ], "platforms": [ "macOS", "PC", "Xbox 360", "PlayStation 3" ] }, { "id": 56114, "name": "Medal of Honor: Frontline", "slug": "medal-of-honor-frontline", "url": "https://rawg.io/games/medal-of-honor-frontline", "released": "2002-05-28", "tba": false, "rating": 3.92, "updated": "2022-09-17T03:52:26", "genres": [ "Shooter" ], "platforms": [ "PlayStation 3", "Xbox", "GameCube", "PlayStation 2" ] } ] }, { "id": 25120, "name": "Test collection 1", "slug": "test-collection-1", "url": "https://rawg.io/collections/test-collection-1", "description": "", "games_count": 3, "created": "2022-10-17T16:45:50.825922Z", "updated": "2022-10-17T16:46:37.110669Z", "games": [ { "id": 5679, "name": "The Elder Scrolls V: Skyrim", "slug": "the-elder-scrolls-v-skyrim", "url": "https://rawg.io/games/the-elder-scrolls-v-skyrim", "released": "2011-11-11", "tba": false, "rating": 4.42, "updated": "2022-10-13T10:58:37", "genres": [ "Action", "RPG" ], "platforms": [ "PC", "Nintendo Switch", "Xbox 360", "PlayStation 3" ] }, { "id": 3498, "name": "Grand Theft Auto V", "slug": "grand-theft-auto-v", "url": "https://rawg.io/games/grand-theft-auto-v", "released": "2013-09-17", "tba": false, "rating": 4.47, "updated": "2022-10-15T12:05:16", "genres": [ "Action", "Adventure" ], "platforms": [ "PC", "Xbox Series S/X", "PlayStation 4", "PlayStation 3", "Xbox 360", "Xbox One", "PlayStation 5" ] }, { "id": 10615, "name": "System Shock 2", "slug": "system-shock-2", "url": "https://rawg.io/games/system-shock-2", "released": "1999-08-11", "tba": false, "rating": 4.14, "updated": "2022-10-03T11:21:32", "genres": [ "Action", "Shooter", "RPG" ], "platforms": [ "PC", "macOS", "Linux" ] } ] } ] }
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 Distribution
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 rawg-export-user-collections-0.0.2.tar.gz.
File metadata
- Download URL: rawg-export-user-collections-0.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93b2ff652b94423d3c04b56cc5aa7787b6848300a1c439e92a11ce59ae094d64
|
|
| MD5 |
a163f622c3fd7e87d877d41f2e6816b0
|
|
| BLAKE2b-256 |
7fd524346c8cc12ea7d508390c1633954bba668dcc6c186c39eb404c422dbdfb
|
File details
Details for the file rawg_export_user_collections-0.0.2-py3-none-any.whl.
File metadata
- Download URL: rawg_export_user_collections-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3b8b25d334f6dd3a913c69c98e82f563bbf95e1a9f193d2c75d4803f90c83ee
|
|
| MD5 |
76cebd4592ca5d215fc3d4ebd02109ae
|
|
| BLAKE2b-256 |
e27f0806534a977c6466cb95da92072ed1edc08c291af47852dff7b2ec4d858e
|