begin implementing character API fetch routes with rudimentary inefficient paging - character_data.keys() will need caching and surface level data building, perhaps prebuilt.json or runtime var? similar to SeasonList

This commit is contained in:
Xevion
2020-09-14 12:26:01 -05:00
parent 1d9d1d27ad
commit 9cc6dbfa50
2 changed files with 21 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ from typing import Dict, Iterable, List, Optional, Tuple, Union
import enlighten
import requests
from server.helpers import character_id
session = requests.Session()
BASE_DIR = os.path.dirname(os.path.abspath(__file__))