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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fidelity_helper-0.1.1.tar.gz
  • Upload date:
  • Size: 7.3 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.1.tar.gz
Algorithm Hash digest
SHA256 7c63802e6949eebe3ce97d9cede5c49443a9bf8ebb9a102267ba4f96a7df0320
MD5 467d29d5b29baf8993e40e05f6bf5557
BLAKE2b-256 99e8569701fa7dbd92d16103dd539324991e9ef2216ff8ba965df24cbc5bbe0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fidelity_helper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f29c27ca6ae914c126ae630e8d76e669622c200108b0f284604ffca904d56b3
MD5 1e0bab4885465455be180e107dabf362
BLAKE2b-256 8c791cf13c75aa08232579799be7b03528179b607dc7b195e35b50a0a8c6901e

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