We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3e8c01 commit 7731354Copy full SHA for 7731354
src/config.py
@@ -7,6 +7,8 @@
7
class Config:
8
event = "europython-2025"
9
event_dir_name = "ep2025"
10
+ api_version = "v1"
11
+
12
project_root = Path(__file__).resolve().parents[1]
13
raw_path = Path(f"{project_root}/data/raw/{event_dir_name}")
14
public_path = Path(f"{project_root}/data/public/{event_dir_name}")
src/download.py
@@ -21,6 +21,7 @@
21
headers = {
22
"Accept": "application/json, text/javascript",
23
"Authorization": f"Token {Config.token()}",
24
+ "Pretalx-Version": Config.api_version,
25
}
26
27
base_url = f"https://pretalx.com/api/events/{Config.event}/"
0 commit comments