Skip to main content

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

  1. Get user slug from user profile page in rawg.io:

    User profile page

  2. Run command:

    rawg_export_user_collections --user_slug=user_slug --export_folder_path=F:\Backup
    
  3. 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"
              ]
            }
          ]
        }
      ]
    }
    

Release files for rawg-export-user-collections 0.0.2

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

Source distribution (sdist)

Source distribution for rawg-export-user-collections 0.0.2
File Size Uploaded
rawg-export-user-collections-0.0.2.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rawg-export-user-collections 0.0.2
File Interpreter ABI Platform
rawg_export_user_collections-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / rawg-export-user-collections-0.0.2.tar.gz

Download URL rawg-export-user-collections-0.0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
93b2ff652b94423d3c04b56cc5aa7787b6848300a1c439e92a11ce59ae094d64
BLAKE2b-256 checksum
How to use checksums
7fd524346c8cc12ea7d508390c1633954bba668dcc6c186c39eb404c422dbdfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0b2 CPython/3.10.5 Windows/10

Release files / rawg_export_user_collections-0.0.2-py3-none-any.whl

Download URL rawg_export_user_collections-0.0.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3b8b25d334f6dd3a913c69c98e82f563bbf95e1a9f193d2c75d4803f90c83ee
BLAKE2b-256 checksum
How to use checksums
e27f0806534a977c6466cb95da92072ed1edc08c291af47852dff7b2ec4d858e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0b2 CPython/3.10.5 Windows/10

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.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