def get_credentials(site): app_API_key = "" stats_API_key = "" if site=="telegram": return {"token": "Your Telegram token", "chatid": "Your Telegram chat-id" } elif site=="app_API_key": return {"app_API_key": app_API_key} elif site=="stats_API_key": return {"stats_API_key": stats_API_key} return {}