Swiftpack.co - Nef10/SwiftBeanCountRogersBankMapper as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Nef10.
Nef10/SwiftBeanCountRogersBankMapper v0.0.7
Swift library to convert download Rogers Bank data to the SwiftBeanCount model
⭐️ 0
🕓 6 weeks ago
.package(url: "https://github.com/Nef10/SwiftBeanCountRogersBankMapper.git", from: "v0.0.7")

SwiftBeanCountRogersBankMapper

CI Status Documentation percentage License: MIT Latest version platforms supported: linux | macOS | iOS | watchOS | tvOS SPM compatible

This project is part for SwiftBeanCount, please check out the main documentation here.

What

This is a small library to convert downloaded data from a Rogers Bank Credit Card (via RogersBankDownloader) to the Beancount format (via SwiftBeanCountModel).

Beancount meta data

The library relies on meta data in your Beancount file to find your accounts. Please add importer-type: "rogers" and last-four: "XXXX" with the last four digits of your number to your Credit Card Liability account.

How

  1. Load your ledger, e.g. via SwiftBeanCountParser
  2. Create an instance of SwiftBeanCountRogersBankMapper using the ledger
  3. Dowload the accounts and activities you want to convert via the RogersBankDownloader
  4. Use mapAccountToBalance and mapActivitiesToTransactions on the mapper to convert the downloaded data

Please also check out the complete documentation here.

Usage

The library supports the Swift Package Manger, so simply add a dependency in your Package.swift:

.package(url: "https://github.com/Nef10/SwiftBeanCountRogersBankMapper.git", .exact(from: "X.Y.Z")),

Note: as per semantic versioning all versions changes < 1.0.0 can be breaking, so please use .exact for now

GitHub

link
Stars: 0
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.0.7 Bump downloader
6 weeks ago

Changes

  • Bump RogersBankDownloader from 0.0.6 to 0.0.7 @swift-dependency-updater (#82)

🐛 Bug Fixes

  • Fix README.md @Nef10 (#83)

🧰 Maintenance

  • Bump actions/github-script from 6.0.0 to 6.1.0 @file-sync-app (#81)
  • Bump release-drafter from 5.19.0 to 5.20.0 @file-sync-app (#80)
  • Update setup-swift to 1.15.0 @file-sync-app (#77)
  • Bump tibdex/github-app-token from 1.5.1 to 1.5.2 @file-sync-app (#76)
  • Bump actions/upload-artifact from 2 to 3 @file-sync-app (#75)
  • Bump setup-swift from 1.13.1 to 1.14.0 @file-sync-app (#73)
  • Bump release-drafter from 5.18.1 to 5.19.0 @file-sync-app (#71)
  • Bump actions/checkout from 2 to 3 @file-sync-app (#69)
  • Bump fwal/setup-swift to 1.13.1 @file-sync-app (#67)
  • Bump setup-swift from 1.11.0 to 1.12.0 @file-sync-app (#64)
  • Bump actions/github-script from 5.1.0 to 6.0.0 @file-sync-app (#63)
  • Bump release-drafter from 5.18.0 to 5.18.1 @file-sync-app (#62)
  • Bump very_good_coverage from 1.2.0 to 1.2.1 @file-sync-app (#61)
  • Bump release-drafter from 5.17.6 to 5.18.0 @file-sync-app (#56)
  • Update SwiftLint config for 0.46.1 @file-sync-app (#54)
  • Bump release-drafter from 5.16.2 to 5.17.6 @file-sync-app (#53)
  • Bump release-drafter from 5.15.0 to 5.16.2 @file-sync-app (#51)
  • Bump actions/github-script from 5.0.0 to 5.1.0 @file-sync-app (#49)
  • Bump fwal/setup-swift from 1.10.0 to 1.11.0 @file-sync-app (#48)
  • Bump tibdex/github-app-token from 1.5.0 to 1.5.1 @file-sync-app (#47)
  • Update SwiftLint config for 0.45.1 @file-sync-app (#46)
  • Bump fwal/setup-swift from 1.9.0 to 1.10.0 @file-sync-app (#45)
  • Bump fwal/setup-swift to 1.9.0 @file-sync-app (#43)
  • Update SwiftLint config for 0.45.0 @file-sync-app (#39)
  • Bump tibdex/github-app-token from 1.4.0 to 1.5.0 @Nef10 (#42)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics