Skip to main content

Fetch Fidelity transactions

Project description

fidelity-helper

Retrieve Fidelity transaction data via fetch calls to fidelity.com in the context of a browser.

API documentation

Usage

from datetime import date
from fidelity_helper import Fidelity

# In this example the callback assumes page.evaluate is provided by your browser
# automation framework.
fidelity = Fidelity(lambda expr: page.evaluate(expr, await_promise=True))

# Get transactions for specific accounts and date range
transactions = await fidelity.get_transactions(
    accounts=["123456789", "987654321"], start=date(2024, 1, 1), end=date(2024, 1, 31)
)

for t in transactions:
    print(f"{t.date}\t${t.amount}\t{t.description}")

See fidelity_example.py for a working example.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fidelity_helper-0.1.5.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fidelity_helper-0.1.5-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file fidelity_helper-0.1.5.tar.gz.

File metadata

  • Download URL: fidelity_helper-0.1.5.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fidelity_helper-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c9f19dd86d30a2c8c38588fc1fb213cea67c6e483e141acd62d5b60d6e38452c
MD5 26f4c660823af4330094527595b0fffe
BLAKE2b-256 368b70682c6348f1655877b354b84e61971f54d7bb35051939026ff61f02ebb6

See more details on using hashes here.

File details

Details for the file fidelity_helper-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: fidelity_helper-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fidelity_helper-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 821e880b37189a8d7b37e9600dd9bbb530e35f7e600b0d7ffa099e7e9d3f3d6b
MD5 b1a09766ba679b566f98c717720405e6
BLAKE2b-256 0d5361d96e1169a4716b6be4b949600ea8c3bdd4771d8122a8d42fe5fba113f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page