-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
How should I pass the Account API ID and Account API Key to use the API?
I am trying like so:
.ENV file
ACCOUNT_ID = os.getenv('XE_ACCOUNT_ID')
API_KEY = os.getenv('XE_API_KEY')
Function:
response = requests.get(
f"https://xecdapi.xe.com/v1/currencies.json?name={ACCOUNT_ID}&password={API_KEY}"
)
data = response.json()
I have used "api_key" and "account_id" also.
Metadata
Metadata
Assignees
Labels
No labels