Skip to main content

Viseca login and data export tool

Project description

💸 viseca

Fetch transactions from Viseca One

>>> uv add viseca

Usage

This method processes the auth flow in the CLI and will trigger a 2FA request like the login in a browser would.

  1. Log in to one.viseca.ch and navigate to "Transactions"
  2. Obtain the card ID from the path (between /v1/card/ and /transactions) and store it in your .env file. Additionaly, to avoid entering your credentials everytime, feel free to add them to the .env file as well.
    cp .env.example .env
    >>> VISECA_USERNAME=YOUR_MAIL
    >>> VISECA_PASSWORD=YOUR_PASSWORD
    >>> VISECA_CARD_ID=YOUR_CARD_ID
    
  3. Fetch transactions (and save them to a file)
    • Using commands
    uv run viseca/transactions.py --file transactions.csv
    
    • Or the python package
    from viseca import VisecaClient, format_transactions
    
    client = VisecaClient()
    txs = client.list_transactions()
    df = format_transactions(txs)
    df.to_csv("transactions.csv")
    

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

viseca-0.1.0.tar.gz (85.6 kB view details)

Uploaded Source

Built Distribution

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

viseca-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: viseca-0.1.0.tar.gz
  • Upload date:
  • Size: 85.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for viseca-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1977680ea95fb74dbd2b4a1fb8a2f44df48781c7a99e2c1f8c2258b0464d2a6e
MD5 1eec59dde6b4f91da700d172ea071f62
BLAKE2b-256 4bade84e061d36b01bf2aca3405eac28cf7846e0c46fc9bf720b7fd488e8cbb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: viseca-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for viseca-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d80d3e29fd80f6d8014680aa9b0b0df4a5225c33c4ce326e10694c550264669
MD5 6c942bc2d693b0d94780a0c9920f3b88
BLAKE2b-256 f954c1673bff6d048ee3e8c72e0fe22c93489ee214d1700d729a5d5ca2766a7b

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