Add sample request using api client

This commit is contained in:
dylan
2025-04-12 02:15:19 +02:00
parent f74dfbaab3
commit b311a7fb04
3 changed files with 33 additions and 36 deletions

View File

@ -1,19 +1,8 @@
from flask.cli import load_dotenv
import os
from dotenv import load_dotenv
class Config:
"""
Configuration manager for the Julius Baer API client.
Reads configuration from a YAML file and overrides values
with environment variables when available.
"""
def __init__(self):
"""
Initialize the configuration manager.
Args:
config_file_path: Path to the YAML configuration file. Defaults to "config.yaml".
"""
load_dotenv()
load_dotenv()
API_URI = str(os.getenv("API_URI") or "")
API_KEY = str(os.getenv("API_KEY") or "")
API_TEAM = str(os.getenv("API_TEAM") or "")