Skip to content

solesensei/notion-game-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notion Game List discuss

All your games inside Notion.

notion-x-steam

Requirements

Python 3.6+

# Clone with submodules
git clone --recurse-submodules [email protected]:solesensei/notion-game-list.git

# Create virtual environment
python -m venv notion-game-list-venv && source notion-game-list-venv/bin/activate

# Install requirements
pip install -r requirements.txt -U

How it works

The tool uses 2 Web API clients for Steam and Notion.

Steam

I used Web SteamAPI client written by @smiley.

Authentification:

  • Get APIKey
  • Add to environment variable STEAM_TOKEN (optional)
  • Add your steamcommunity.com/id/{user_id} to STEAM_USER (optional)

Notion

For notion i used notion-py client written by @jamalex.

Authentification:

  • Login to notion.so with your regular email and password
  • Open browser cookies and copy token_v2

click to open

  • Pass token_v2 to system environment variable NOTION_TOKEN (optional)

Usage

Check releases and get binary tool for os you run, or you can use pure python.

python main.py -h  # help

python main.py --steam-user solesensei  # run for steam user_id = solesensei

python main.py --store-bg-cover --skip-non-steam  # use store steam background as cover and skip games that are no longer in store

python main.py --skip-free-steam  # import all games except of free2play

python main.py --steam-no-cache  # do not use game_info_cache.json, you can also remove the file

notion-example

result here

feel free to contribute and create issues

Plans

  • rewrite on official notion api
  • connect to existing page
  • update existing page values, do not recreate databases
  • add options for setting status
  • add options for importing specific games
  • options for disabling/enabling icons
  • parse recent games
  • login to notion with password
  • add proxy for unlimited requests to Steam Store Web Api (limit: 200 games per 5 minutes)
  • add release date done in v0.0.3
  • load game covers with better resolution (game DB, steamstore?) done in v0.0.2