Skip to content

Commit 7a4fc9c

Browse files
committed
README.md: add environment variables section
Add documentation for environment variable configuration options. Signed-off-by: Jamie Couture <jamie.couture@nasdaq.com>
1 parent c4208c0 commit 7a4fc9c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ By default, SSL verification is enabled. To bypass SSL verification (not recomme
3333
nasdaqdatalink.ApiConfig.verify_ssl = False
3434
```
3535

36+
### Environment Variables
37+
38+
You may use environment variables to configure the Data Link SDK to avoid any
39+
inline boilerplate.
40+
41+
| Env | Description |
42+
|---|---|
43+
| NASDAQ_DATA_LINK_API_KEY | The SDK will configure itself to use the given API Key |
44+
| NASDAQ_DATA_LINK_BASE_DOMAIN | The SDK will configure itself to use the provided domain |
45+
3646
### Local API Key Environment Variable
3747

3848
If you wish to store your API as an environment variable, you can do so by setting `NASDAQ_DATA_LINK_API_KEY`. If set, NASDAQ_DATA_LINK_API_KEY will take precedence over the API Key file mentioned below.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy