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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fidelity_helper-0.1.3.tar.gz
  • Upload date:
  • Size: 7.3 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.3.tar.gz
Algorithm Hash digest
SHA256 82052e6394163bfc62422f3c2b480d1c9f6248c8c0d2f042e93baf283f3047fb
MD5 0a83d128987c87dec501aef3cd40b687
BLAKE2b-256 4328b1fe69be042fa1621efc95cbe526d79a3af38c8cfe5d12cc4db59921413a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fidelity_helper-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4262daa4ea7d33113ef3a6138dda8758d9c7a1bb21d55124dbce8f5f987ee283
MD5 28d9b70a11ca2ab481320b1002d13b81
BLAKE2b-256 92e5a5d6cb0b43952a11a217b9a39bd09378e7e9686132265991b4905e31dfcf

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