Fetch transactions from Viseca One
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.1.tar.gz
(85.5 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.1.tar.gz.
File metadata
- Download URL: viseca-0.1.1.tar.gz
- Upload date:
- Size: 85.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31b1604ac9f543e626732b9831a2602751b21fa9ca04e59d82a42e73303c3ec
|
|
| MD5 |
78cb2051dda22c18d1bc1f83b1a08adc
|
|
| BLAKE2b-256 |
46accb1c66389fb2c1e35c7d3ce97f98e7b3bc61da2dc8e1d0f0ac0d751bb74f
|
File details
Details for the file viseca-0.1.1-py3-none-any.whl.
File metadata
- Download URL: viseca-0.1.1-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 |
51666f8774930b319938428725c8651f99aed529ca8a45176f51dd820637de8f
|
|
| MD5 |
abff019428e3dde81290be579569c1ec
|
|
| BLAKE2b-256 |
a012d7ea6408a98051d3eae6b57bd4be0f5622057d6ceea54f3df54841a0b109
|