Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ heron.basic_auth_password = os.getenv("HERON_PASSWORD")
heron.provider = "plaid"
```

Alternatively, set `HERON_USERNAME` and `HERON_PASSWORD` as environment
variables which will be automatically picked up.

Then you can issue API requests using Python classes:

```python
Expand Down
6 changes: 4 additions & 2 deletions heron/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os

_base_url = "https://app.herondata.io/api"

basic_auth_username = None
basic_auth_password = None
basic_auth_username = os.getenv("HERON_USERNAME")
basic_auth_password = os.getenv("HERON_PASSWORD")
provider = None

from .category import Category # noqa
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# This call to setup() does all the work
setup(
name="heron-data",
version="0.1.0",
version="0.1.1",
description="A client for the Heron Data API",
long_description=README,
long_description_content_type="text/markdown",
Expand Down