pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/EuroPython/programapi/commit/7731354d736212dcb1c12d43e85a984dda379985

="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> Specify API version (#131) · EuroPython/programapi@7731354 · GitHub
Skip to content

Commit 7731354

Browse files
authored
Specify API version (#131)
1 parent e3e8c01 commit 7731354

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
class Config:
88
event = "europython-2025"
99
event_dir_name = "ep2025"
10+
api_version = "v1"
11+
1012
project_root = Path(__file__).resolve().parents[1]
1113
raw_path = Path(f"{project_root}/data/raw/{event_dir_name}")
1214
public_path = Path(f"{project_root}/data/public/{event_dir_name}")

src/download.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
headers = {
2222
"Accept": "application/json, text/javascript",
2323
"Authorization": f"Token {Config.token()}",
24+
"Pretalx-Version": Config.api_version,
2425
}
2526

2627
base_url = f"https://pretalx.com/api/events/{Config.event}/"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy