Files
playtomic-wrapper/app/core/config.py

18 lines
357 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
PROJECT_NAME: str = "Playtomic Wrapper"
VERSION: str = "1.0.0"
API_V1_STR: str = "/api/v1"
PLAYTOMIC_EMAIL: str
PLAYTOMIC_PASSWORD: str
PLAYTOMIC_API_URL: str = "https://api.playtomic.io"
class Config:
env_file = ".env"
settings = Settings()