2024-07-25 19:58:28 +02:00
|
|
|
import requests
|
|
|
|
|
import xml.etree.ElementTree as ET
|
|
|
|
|
from pydantic import HttpUrl
|
2024-07-31 14:54:31 +02:00
|
|
|
import requests
|
2024-08-01 12:34:55 +02:00
|
|
|
from datetime import datetime
|
2024-08-02 10:33:09 +02:00
|
|
|
import time
|
2024-08-02 12:48:35 +02:00
|
|
|
import math
|
2024-07-25 19:58:28 +02:00
|
|
|
|
2024-08-02 12:48:35 +02:00
|
|
|
from src.classes import boardgame_classes, play_classes
|
2024-08-02 10:25:48 +02:00
|
|
|
from src.modules import auth_manager
|
2024-08-02 12:48:35 +02:00
|
|
|
from src.config import definitions
|
2024-07-31 15:22:30 +02:00
|
|
|
|
2024-07-31 15:43:33 +02:00
|
|
|
authenticated_session: requests.Session = requests.Session()
|
2024-07-25 21:52:49 +02:00
|
|
|
|
2024-07-25 19:58:28 +02:00
|
|
|
def url_to_xml_object(url: HttpUrl) -> ET.Element:
|
2024-07-31 15:22:30 +02:00
|
|
|
r = authenticated_session.get(url)
|
2024-08-02 10:33:09 +02:00
|
|
|
|
|
|
|
|
while r.status_code == 202:
|
|
|
|
|
print('BGG is processing...')
|
|
|
|
|
time.sleep(10)
|
|
|
|
|
r = authenticated_session.get(url)
|
|
|
|
|
|
2024-08-01 14:09:04 +02:00
|
|
|
assert r.status_code == 200, "Got {} status code".format(r.status_code)
|
2024-07-25 19:58:28 +02:00
|
|
|
root = ET.fromstring(r.content)
|
|
|
|
|
return root
|
2024-07-25 21:52:49 +02:00
|
|
|
|
2024-08-02 09:52:06 +02:00
|
|
|
def get_boardgame(boardgame_id: int) -> boardgame_classes.BoardGame:
|
2024-08-01 09:50:55 +02:00
|
|
|
url : str = "https://boardgamegeek.com/xmlapi2/thing?id={}&stats=true".format(boardgame_id)
|
|
|
|
|
boardgame_xml_object : ET.Element = url_to_xml_object(url)
|
|
|
|
|
|
|
|
|
|
requested_boardgame = convert_xml_to_boardgame(boardgame_xml_object.find('item'))
|
|
|
|
|
|
|
|
|
|
return requested_boardgame
|
|
|
|
|
|
2024-08-02 09:52:06 +02:00
|
|
|
def get_multiple_boardgames(boardgame_ids: list[int]) -> list[boardgame_classes.BoardGame]:
|
2024-08-01 09:50:55 +02:00
|
|
|
|
2024-08-02 12:48:35 +02:00
|
|
|
def divide_list_in_chunks(list_to_divide: list[int], chunk_size: int = definitions.BGG_MAX_THING_BOARDGAMES):
|
2024-08-01 09:50:55 +02:00
|
|
|
for i in range(0, len(list_to_divide), chunk_size):
|
|
|
|
|
yield list_to_divide[i:i + chunk_size]
|
|
|
|
|
|
|
|
|
|
|
2024-08-02 09:52:06 +02:00
|
|
|
boardgame_list_to_return: list[boardgame_classes.BoardGame] = []
|
2024-08-01 09:50:55 +02:00
|
|
|
|
|
|
|
|
#Boardgamegeek only allows chunks of 20 boardgames at a time
|
|
|
|
|
boardgame_ids_divided = list(divide_list_in_chunks(boardgame_ids))
|
|
|
|
|
|
2024-08-01 10:05:17 +02:00
|
|
|
for boardgame_id_list_size_20 in boardgame_ids_divided:
|
|
|
|
|
boardgame_id_list_commas: str = ','.join(boardgame_id_list_size_20)
|
2024-08-01 09:50:55 +02:00
|
|
|
url : str = "https://boardgamegeek.com/xmlapi2/thing?id={}&stats=true".format(boardgame_id_list_commas)
|
2024-08-01 09:51:49 +02:00
|
|
|
boardgames_xml_object : ET.Element = url_to_xml_object(url)
|
2024-08-01 09:50:55 +02:00
|
|
|
|
2024-08-01 09:51:49 +02:00
|
|
|
for boardgame_xml_object in boardgames_xml_object:
|
2024-08-01 10:05:17 +02:00
|
|
|
requested_boardgame = convert_xml_to_boardgame(boardgame_xml_object)
|
2024-08-01 09:50:55 +02:00
|
|
|
boardgame_list_to_return.append(requested_boardgame)
|
|
|
|
|
|
|
|
|
|
return boardgame_list_to_return
|
|
|
|
|
|
|
|
|
|
|
2024-07-31 16:03:24 +02:00
|
|
|
#Requires single boardgame XML 'item' from bgg api on /thing
|
2024-08-02 09:52:06 +02:00
|
|
|
def convert_xml_to_boardgame(boardgame_xml: ET.Element) -> boardgame_classes.BoardGame:
|
2024-07-26 12:01:12 +02:00
|
|
|
|
|
|
|
|
boardgame_type = boardgame_xml.get('type')
|
|
|
|
|
|
2024-08-01 10:26:40 +02:00
|
|
|
expansion_ids: list[int] = []
|
|
|
|
|
|
|
|
|
|
all_links = boardgame_xml.findall('link')
|
|
|
|
|
|
|
|
|
|
for link in all_links:
|
|
|
|
|
if link.get('type') == 'boardgameexpansion':
|
|
|
|
|
expansion_ids.append(int(link.get('id')))
|
|
|
|
|
|
2024-07-31 16:03:24 +02:00
|
|
|
boardgame_dict = {
|
2024-08-01 09:50:55 +02:00
|
|
|
"id" : int(boardgame_xml.get('id')),
|
2024-07-31 16:03:24 +02:00
|
|
|
"name" : boardgame_xml.find('name').get('value'),
|
|
|
|
|
"description" : boardgame_xml.find('description').text,
|
|
|
|
|
"image_url" : boardgame_xml.find('image').text,
|
|
|
|
|
"thumbnail_url" : boardgame_xml.find('thumbnail').text,
|
|
|
|
|
"year_published" : int(boardgame_xml.find('yearpublished').get('value')),
|
|
|
|
|
"min_players" : int(boardgame_xml.find('minplayers').get('value')),
|
|
|
|
|
"max_players" : int(boardgame_xml.find('maxplayers').get('value')),
|
|
|
|
|
"min_playing_time" : int(boardgame_xml.find('minplaytime').get('value')),
|
|
|
|
|
"max_playing_time" : int(boardgame_xml.find('maxplaytime').get('value')),
|
2024-08-03 15:42:19 +02:00
|
|
|
"min_age" : int(boardgame_xml.find('minage').get('value'))
|
2024-07-31 16:03:24 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-26 12:01:12 +02:00
|
|
|
match boardgame_type:
|
|
|
|
|
case "boardgame":
|
2024-08-02 09:52:06 +02:00
|
|
|
boardgame = boardgame_classes.BoardGame(**boardgame_dict)
|
2024-07-26 12:01:12 +02:00
|
|
|
case "boardgameexpansion":
|
2024-08-03 15:42:19 +02:00
|
|
|
expansion_for = expansion_ids[0]
|
|
|
|
|
boardgame_dict['expansion_for'] = expansion_for
|
2024-08-02 09:52:06 +02:00
|
|
|
boardgame = boardgame_classes.BoardGameExpansion(**boardgame_dict)
|
2024-07-31 16:03:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return boardgame
|
|
|
|
|
|
2024-08-02 10:50:18 +02:00
|
|
|
def convert_collection_xml_to_owned_boardgame(boardgame_extra_info: boardgame_classes.BoardGame, collection_boardgame_xml: ET.Element) -> boardgame_classes.OwnedBoardGame:
|
2024-07-31 16:03:24 +02:00
|
|
|
|
2024-08-01 10:05:17 +02:00
|
|
|
boardgame_type = collection_boardgame_xml.get('subtype')
|
2024-07-31 16:03:24 +02:00
|
|
|
|
2024-08-01 12:34:55 +02:00
|
|
|
price_paid = collection_boardgame_xml.find('privateinfo').get('pricepaid')
|
|
|
|
|
if price_paid == '':
|
|
|
|
|
price_paid = 0.0
|
|
|
|
|
else:
|
|
|
|
|
price_paid = float(price_paid)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
date_string = collection_boardgame_xml.find('privateinfo').get('acquisitiondate')
|
|
|
|
|
if date_string == '':
|
|
|
|
|
date_string = '1970-01-01'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acquisition_date = datetime.strptime(date_string, '%Y-%m-%d').date()
|
|
|
|
|
|
|
|
|
|
acquired_from = collection_boardgame_xml.find('privateinfo').get('acquiredfrom')
|
|
|
|
|
|
2024-08-02 10:50:18 +02:00
|
|
|
owned_boardgame_dict = {
|
2024-08-01 12:34:55 +02:00
|
|
|
"price_paid" : price_paid,
|
|
|
|
|
"acquisition_date" : acquisition_date,
|
|
|
|
|
"acquired_from" : acquired_from
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-31 16:03:24 +02:00
|
|
|
boardgame_dict = {
|
2024-08-01 10:05:17 +02:00
|
|
|
"id" : boardgame_extra_info.id,
|
|
|
|
|
"name" : boardgame_extra_info.name,
|
|
|
|
|
"description" : boardgame_extra_info.description,
|
|
|
|
|
"image_url" : boardgame_extra_info.image_url,
|
|
|
|
|
"thumbnail_url" : boardgame_extra_info.thumbnail_url,
|
|
|
|
|
"year_published" : boardgame_extra_info.year_published,
|
|
|
|
|
"min_players" : boardgame_extra_info.min_players,
|
|
|
|
|
"max_players" : boardgame_extra_info.max_players,
|
|
|
|
|
"min_playing_time" : boardgame_extra_info.min_playing_time,
|
|
|
|
|
"max_playing_time" : boardgame_extra_info.max_playing_time,
|
|
|
|
|
"min_age" : boardgame_extra_info.min_age,
|
2024-08-02 10:50:18 +02:00
|
|
|
**owned_boardgame_dict
|
2024-07-31 16:03:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
match boardgame_type:
|
|
|
|
|
case "boardgame":
|
2024-08-02 10:50:18 +02:00
|
|
|
boardgame = boardgame_classes.OwnedBoardGame(**boardgame_dict)
|
2024-07-31 16:03:24 +02:00
|
|
|
case "boardgameexpansion":
|
2024-08-03 15:42:19 +02:00
|
|
|
boardgame_dict['expansion_for'] = boardgame_extra_info.expansion_for
|
2024-08-02 10:50:18 +02:00
|
|
|
boardgame = boardgame_classes.OwnedBoardGameExpansion(**boardgame_dict)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return boardgame
|
|
|
|
|
|
|
|
|
|
def convert_collection_xml_to_wishlist_boardgame(boardgame_extra_info: boardgame_classes.BoardGame, collection_boardgame_xml: ET.Element) -> boardgame_classes.WishlistBoardGame:
|
|
|
|
|
|
|
|
|
|
boardgame_type = collection_boardgame_xml.get('subtype')
|
|
|
|
|
|
|
|
|
|
wishlist_priority = collection_boardgame_xml.find('status').get('wishlistpriority')
|
|
|
|
|
|
|
|
|
|
wishlist_boardgame_dict = {
|
|
|
|
|
"wishlist_priority" : wishlist_priority,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
boardgame_dict = {
|
|
|
|
|
"id" : boardgame_extra_info.id,
|
|
|
|
|
"name" : boardgame_extra_info.name,
|
|
|
|
|
"description" : boardgame_extra_info.description,
|
|
|
|
|
"image_url" : boardgame_extra_info.image_url,
|
|
|
|
|
"thumbnail_url" : boardgame_extra_info.thumbnail_url,
|
|
|
|
|
"year_published" : boardgame_extra_info.year_published,
|
|
|
|
|
"min_players" : boardgame_extra_info.min_players,
|
|
|
|
|
"max_players" : boardgame_extra_info.max_players,
|
|
|
|
|
"min_playing_time" : boardgame_extra_info.min_playing_time,
|
|
|
|
|
"max_playing_time" : boardgame_extra_info.max_playing_time,
|
|
|
|
|
"min_age" : boardgame_extra_info.min_age,
|
|
|
|
|
**wishlist_boardgame_dict
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
match boardgame_type:
|
|
|
|
|
case "boardgame":
|
|
|
|
|
boardgame = boardgame_classes.WishlistBoardGame(**boardgame_dict)
|
|
|
|
|
case "boardgameexpansion":
|
2024-08-03 15:42:19 +02:00
|
|
|
boardgame_dict['expansion_for'] = boardgame_extra_info.expansion_for
|
2024-08-02 10:50:18 +02:00
|
|
|
boardgame = boardgame_classes.WishlistBoardGameExpansion(**boardgame_dict)
|
2024-07-26 12:01:12 +02:00
|
|
|
|
|
|
|
|
|
2024-07-26 11:41:34 +02:00
|
|
|
|
|
|
|
|
return boardgame
|
2024-07-25 21:52:49 +02:00
|
|
|
|
2024-08-02 12:48:35 +02:00
|
|
|
def convert_playplayer_xml_to_playplayer(playplayer_xml: ET.Element) -> play_classes.PlayPlayer:
|
|
|
|
|
|
|
|
|
|
score = playplayer_xml.get('score')
|
|
|
|
|
if score == '':
|
|
|
|
|
score = None
|
|
|
|
|
else:
|
|
|
|
|
score = float(score)
|
|
|
|
|
|
|
|
|
|
playplayer_dict = {
|
|
|
|
|
"name" : playplayer_xml.get('name'),
|
|
|
|
|
"username" : playplayer_xml.get('username'),
|
|
|
|
|
"score" : score,
|
|
|
|
|
"first_play" : bool(int(playplayer_xml.get('new'))),
|
|
|
|
|
"has_won" : bool(int(playplayer_xml.get('win')))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
playplayer = play_classes.PlayPlayer(**playplayer_dict)
|
|
|
|
|
|
|
|
|
|
return playplayer
|
|
|
|
|
|
|
|
|
|
def convert_play_xml_to_play(play_xml: ET.Element) -> play_classes.Play:
|
|
|
|
|
|
|
|
|
|
date_string = play_xml.get('date')
|
|
|
|
|
play_date = datetime.strptime(date_string, '%Y-%m-%d').date()
|
|
|
|
|
|
|
|
|
|
playplayer_list: list[play_classes.PlayPlayer] = []
|
|
|
|
|
|
|
|
|
|
for play_player_xml in play_xml.find('players'):
|
|
|
|
|
playplayer_list.append(convert_playplayer_xml_to_playplayer(play_player_xml))
|
|
|
|
|
|
|
|
|
|
play_dict = {
|
|
|
|
|
"boardgame_id" : int(play_xml.find('item').get('objectid')),
|
|
|
|
|
"players" : playplayer_list,
|
|
|
|
|
"play_date" : play_date,
|
|
|
|
|
"duration" : int(play_xml.get('length')),
|
|
|
|
|
"ignore_for_stats" : bool(play_xml.get('nowinstats')),
|
|
|
|
|
"location" : play_xml.get('location')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
play = play_classes.Play(**play_dict)
|
|
|
|
|
|
|
|
|
|
return play
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-01 12:16:41 +02:00
|
|
|
#Creates list of board games from a collection '/collection' URL
|
2024-08-02 10:50:18 +02:00
|
|
|
def get_boardgames_from_collection_url(collection_url: str, boardgame_type: boardgame_classes.BoardgameType) -> list[boardgame_classes.BoardGame]:
|
2024-08-01 10:11:08 +02:00
|
|
|
collection_xml = url_to_xml_object(collection_url)
|
2024-07-31 16:03:24 +02:00
|
|
|
|
2024-08-02 09:52:06 +02:00
|
|
|
collection_list: list[boardgame_classes.BoardGame] = []
|
2024-07-31 16:03:24 +02:00
|
|
|
|
2024-08-01 10:11:08 +02:00
|
|
|
collection_id_list: list[int] = []
|
2024-08-01 10:05:17 +02:00
|
|
|
|
2024-08-01 12:16:41 +02:00
|
|
|
#Get all board game ID's from the collection
|
2024-08-01 10:05:17 +02:00
|
|
|
for boardgame_item in collection_xml:
|
2024-08-01 10:11:08 +02:00
|
|
|
collection_id_list.append(boardgame_item.get('objectid'))
|
2024-08-01 10:05:17 +02:00
|
|
|
|
2024-08-01 12:16:41 +02:00
|
|
|
#Request extra info about the ID's
|
2024-08-01 10:11:08 +02:00
|
|
|
boardgame_extras = get_multiple_boardgames(collection_id_list)
|
2024-08-01 10:05:17 +02:00
|
|
|
|
|
|
|
|
assert len(boardgame_extras) == len(collection_xml)
|
|
|
|
|
|
|
|
|
|
current_index = 0
|
|
|
|
|
|
2024-07-31 16:03:24 +02:00
|
|
|
for boardgame_item in collection_xml:
|
2024-08-01 10:05:17 +02:00
|
|
|
boardgame_extra = boardgame_extras[current_index]
|
2024-08-02 10:50:18 +02:00
|
|
|
match boardgame_type:
|
|
|
|
|
case boardgame_classes.BoardgameType.OWNEDBOARDGAME:
|
|
|
|
|
boardgame = convert_collection_xml_to_owned_boardgame(boardgame_extra, boardgame_item)
|
|
|
|
|
case boardgame_classes.BoardgameType.OWNEDBOARDGAMEEXPANSION:
|
|
|
|
|
boardgame = convert_collection_xml_to_owned_boardgame(boardgame_extra, boardgame_item)
|
|
|
|
|
case boardgame_classes.BoardgameType.WISHLISTBOARDGAME:
|
|
|
|
|
boardgame = convert_collection_xml_to_wishlist_boardgame(boardgame_extra, boardgame_item)
|
|
|
|
|
case boardgame_classes.BoardgameType.WISHLISTBOARDGAMEEXPANSION:
|
|
|
|
|
boardgame = convert_collection_xml_to_wishlist_boardgame(boardgame_extra, boardgame_item)
|
2024-08-01 10:11:08 +02:00
|
|
|
collection_list.append(boardgame)
|
2024-08-01 10:05:17 +02:00
|
|
|
current_index += 1
|
2024-07-31 16:03:24 +02:00
|
|
|
|
2024-08-01 10:11:08 +02:00
|
|
|
return collection_list
|
|
|
|
|
|
2024-08-02 09:52:06 +02:00
|
|
|
def get_user_owned_collection() -> list[boardgame_classes.BoardGame]:
|
2024-08-01 12:34:55 +02:00
|
|
|
url_no_expansions = 'https://boardgamegeek.com/xmlapi2/collection?username={}&own=1&stats=1&excludesubtype=boardgameexpansion&showprivate=1&version=1'.format(auth_manager.username)
|
2024-08-01 12:39:36 +02:00
|
|
|
url_only_expansions = 'https://boardgamegeek.com/xmlapi2/collection?username={}&own=1&stats=1&subtype=boardgameexpansion&showprivate=1&version=1'.format(auth_manager.username)
|
2024-08-02 10:50:18 +02:00
|
|
|
|
|
|
|
|
owned_boardgames = get_boardgames_from_collection_url(url_no_expansions, boardgame_classes.BoardgameType.OWNEDBOARDGAME)
|
|
|
|
|
owned_boardgame_expansions = get_boardgames_from_collection_url(url_only_expansions, boardgame_classes.BoardgameType.OWNEDBOARDGAMEEXPANSION)
|
2024-08-01 12:39:36 +02:00
|
|
|
|
|
|
|
|
owned_boardgames += owned_boardgame_expansions
|
|
|
|
|
|
2024-08-01 10:11:08 +02:00
|
|
|
return owned_boardgames
|
|
|
|
|
|
2024-08-02 09:52:06 +02:00
|
|
|
def get_user_wishlist_collection() -> list[boardgame_classes.BoardGame]:
|
2024-08-02 10:50:18 +02:00
|
|
|
url_no_expanions = 'https://boardgamegeek.com/xmlapi2/collection?username={}&wishlist=1&stats=1&excludesubtype=boardgameexpansion&showprivate=1&version=1'.format(auth_manager.username)
|
|
|
|
|
url_only_expansions = 'https://boardgamegeek.com/xmlapi2/collection?username={}&wishlist=1&stats=1&subtype=boardgameexpansion&showprivate=1&version=1'.format(auth_manager.username)
|
|
|
|
|
|
|
|
|
|
wishlisted_boardgames = get_boardgames_from_collection_url(url_no_expanions, boardgame_classes.BoardgameType.WISHLISTBOARDGAME)
|
|
|
|
|
wishlisted_boardgame_expansions = get_boardgames_from_collection_url(url_only_expansions, boardgame_classes.BoardgameType.WISHLISTBOARDGAMEEXPANSION)
|
|
|
|
|
|
|
|
|
|
wishlisted_boardgames += wishlisted_boardgame_expansions
|
2024-08-01 10:35:51 +02:00
|
|
|
|
|
|
|
|
return wishlisted_boardgames
|
2024-07-31 16:03:24 +02:00
|
|
|
|
|
|
|
|
|
2024-08-02 12:48:35 +02:00
|
|
|
|
|
|
|
|
def get_plays() -> list[play_classes.Play]:
|
|
|
|
|
first_page_url = 'https://boardgamegeek.com/xmlapi2/plays?username={}'.format(auth_manager.username)
|
|
|
|
|
plays_first_page_xml_object = url_to_xml_object(first_page_url)
|
|
|
|
|
|
|
|
|
|
amount_of_plays_total = float(plays_first_page_xml_object.get('total'))
|
|
|
|
|
|
2024-08-02 15:09:20 +02:00
|
|
|
amount_of_pages_needed = math.ceil(amount_of_plays_total/float(definitions.BGG_PLAY_PAGE_SIZE))
|
2024-08-02 12:48:35 +02:00
|
|
|
|
|
|
|
|
all_plays : list[play_classes.Play] = []
|
|
|
|
|
|
|
|
|
|
for page in range(amount_of_pages_needed):
|
|
|
|
|
url = 'https://boardgamegeek.com/xmlapi2/plays?username={}&page={}'.format(auth_manager.username, page)
|
|
|
|
|
plays_page_xml_object = url_to_xml_object(url)
|
|
|
|
|
for play_xml in plays_page_xml_object:
|
|
|
|
|
new_play = convert_play_xml_to_play(play_xml)
|
|
|
|
|
all_plays.append(new_play)
|
|
|
|
|
|
|
|
|
|
return all_plays
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-31 15:22:30 +02:00
|
|
|
def load_authenticated_bgg_session(username: str, password: str) -> requests.Session:
|
|
|
|
|
global authenticated_session
|
|
|
|
|
|
2024-07-31 14:54:31 +02:00
|
|
|
login_url = "https://boardgamegeek.com/login/api/v1"
|
|
|
|
|
|
|
|
|
|
post_data = {
|
|
|
|
|
"credentials":{
|
|
|
|
|
"username": username,
|
|
|
|
|
"password": password
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-31 15:43:33 +02:00
|
|
|
|
|
|
|
|
assert len(authenticated_session.cookies) == 0, 'Session already exists'
|
|
|
|
|
|
2024-07-31 14:54:31 +02:00
|
|
|
login_response = authenticated_session.post(login_url, json=post_data)
|
|
|
|
|
|
2024-07-31 15:43:33 +02:00
|
|
|
assert login_response.status_code == 204, "Login failed!"
|
2024-07-31 16:03:24 +02:00
|
|
|
|
2024-07-31 15:22:30 +02:00
|
|
|
load_authenticated_bgg_session(auth_manager.username, auth_manager.password)
|