Skip to content

Instantly share code, notes, and snippets.

@atodev
Last active November 6, 2025 22:39
Show Gist options
  • Select an option

  • Save atodev/683638a99b76f74e862ada5f2aa0914b to your computer and use it in GitHub Desktop.

Select an option

Save atodev/683638a99b76f74e862ada5f2aa0914b to your computer and use it in GitHub Desktop.
dotenv
from dotenv import load_dotenv
import os
load_dotenv()
API_KEY = os.getenv("API_KEY")
SECRET_KEY = os.getenv("SECRET_KEY")
client = Client(API_KEY, SECRET_KEY)
.env file contains API_KEY=hoZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment