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.4.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.4-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fidelity_helper-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1c44b3afeb30c81dd20e6a267bd799170913174e2ebecbd750737a76eeb00bf0
MD5 4eab6898a4651aae73cc9d5bfeb5b955
BLAKE2b-256 a92fbea7095589e3979a2789386246067dbb33ccd43022f4b8b482c26d2f5969

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fidelity_helper-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef0e3b981143cf13c735760454b6d40a9dfde1565ffcedd355288fee542f4376
MD5 77c22f802152a45d1ce6eb41ae19d939
BLAKE2b-256 48a99ddd5914797f36b928e0e42b99117e39aaaf115083d2db3f400d839e9ffe

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