Viseca login and data export tool
Project description
>>> 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.
- Log in to one.viseca.ch and navigate to "Transactions"
- Obtain the card ID from the path (between
/v1/card/and/transactions) and store it in your.envfile. Additionaly, to avoid entering your credentials everytime, feel free to add them to the.envfile as well.cp .env.example .env >>> VISECA_USERNAME=YOUR_MAIL >>> VISECA_PASSWORD=YOUR_PASSWORD >>> VISECA_CARD_ID=YOUR_CARD_ID
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1977680ea95fb74dbd2b4a1fb8a2f44df48781c7a99e2c1f8c2258b0464d2a6e
|
|
| MD5 |
1eec59dde6b4f91da700d172ea071f62
|
|
| BLAKE2b-256 |
4bade84e061d36b01bf2aca3405eac28cf7846e0c46fc9bf720b7fd488e8cbb2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d80d3e29fd80f6d8014680aa9b0b0df4a5225c33c4ce326e10694c550264669
|
|
| MD5 |
6c942bc2d693b0d94780a0c9920f3b88
|
|
| BLAKE2b-256 |
f954c1673bff6d048ee3e8c72e0fe22c93489ee214d1700d729a5d5ca2766a7b
|