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.0.tar.gz (7.2 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.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fidelity_helper-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fidelity_helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a4bd30c6ad99731b38ceb18b8434eec317aa377244ba1a53b6529c25b22e5ef2
MD5 aa0b5dc46e7912bb5f357a51ba6b1231
BLAKE2b-256 9c23bac23cd62af36f5e480c21b09ed466429578aa1892c78e375f7243ce82a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fidelity_helper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 742aac6e9d33a9517af529f4cbc913f6a2eea087f266599016d3656b762bd0cf
MD5 48cfd9763cc70df459d9fa65c201450e
BLAKE2b-256 b94fedcea96d2f3431cf73d4be09bbc581f07cf41220bf953a0a737c89998212

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