Skip to main content

Get transactions from ticket food card and sync them with a YNAB account.

Project description

================ ticket_ynab_sync

Sync Ticket transactions with a YNAB account.

CLI `tys``

Commands:

  • tys init /path/to/db: initializes a new Sync database (asks for YNAB and Ticket credentials) at the provided path
  • tys info /path/to/db: displays information about the current state of the provided Sync database
  • tys sync /path/to/db: runs a sync iteration - 1) get new transactions from Ticket, 2) push them to YNAB
    • tys sync --period X /path/to/db: ryns a sync iteration every X minutes
    • tys sync --hour X /path/to/db: ryns a sync iteration every X minutes

TODO

[ ] CLI for configuring Ticket, e..g creds, start sync date, sync period, default category, etc. [ ] CLI config YNAB, creds, which account to save new transactions to [ ] init database with Ticket transactions [ ] extra: check if Ticket transactions already exist in YNAB account, based on value, description and date; store YNAB transaction id on local database [ ] push new Ticket transactions (without YNAB id) to YNAB, get YNAB ID, associate ID to Ticket transaction [ ] create loop for syncing [ ] OR add to cronjob [ ] EXTRA: alternative web based GUI to CLI

Ticket API

https://github.com/diogo-aos/TicketYnacSync

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

ticket_ynab_sync-0.0.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

ticket_ynab_sync-0.0.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file ticket_ynab_sync-0.0.1.tar.gz.

File metadata

  • Download URL: ticket_ynab_sync-0.0.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for ticket_ynab_sync-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a6ca83961b4df768373b8c9463bf8112dfcf3689aa4044e65929cb2270dac01d
MD5 a2080f8a6acd997ed05138a6e9f64022
BLAKE2b-256 92ad84e8c2f6af02ced422949d6da803d0b2c353ef1f41c91eeda6a4a23e413e

See more details on using hashes here.

File details

Details for the file ticket_ynab_sync-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ticket_ynab_sync-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed6987301534e4bf93429ac1fd9d75be7adc346bb816ac336cfeca2491112a34
MD5 73200f65a3ed8ce5def9bd689705a64f
BLAKE2b-256 3e1bc0abf21e1a2f2487dceb7adbd37e5f38d41eafe1a7a1aae608b7cdcd3d72

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