def load_settings(path='api/settings'):
    """Loads the user settings located under `api/`"""
    with open(path, 'r', encoding='utf-8') as file:
        return {
            l.strip(): r.strip()
            for l, r in (l.split('=') for l in file if l.strip())
        }