{"id":16087213,"url":"https://github.com/nef10/swiftbeancountrogersbankmapper","last_synced_at":"2025-03-01T13:23:32.762Z","repository":{"id":40325588,"uuid":"396073113","full_name":"Nef10/SwiftBeanCountRogersBankMapper","owner":"Nef10","description":"Swift library to convert download Rogers Bank data to the SwiftBeanCount model","archived":false,"fork":false,"pushed_at":"2024-07-08T01:56:11.000Z","size":923,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-10T13:28:33.164Z","etag":null,"topics":["plaintext-accounting","rogers-bank","swiftbeancount"],"latest_commit_sha":null,"homepage":"https://nef10.github.io/SwiftBeanCountRogersBankMapper/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nef10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-14T17:02:01.000Z","updated_at":"2024-07-08T01:56:14.000Z","dependencies_parsed_at":"2023-02-12T13:15:44.029Z","dependency_job_id":"f7b38025-85df-426b-9d24-131733db4a43","html_url":"https://github.com/Nef10/SwiftBeanCountRogersBankMapper","commit_stats":{"total_commits":101,"total_committers":6,"mean_commits":"16.833333333333332","dds":0.3168316831683168,"last_synced_commit":"42abc691a9fe4c98c3f11d4a24602962b6841f8b"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nef10%2FSwiftBeanCountRogersBankMapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nef10%2FSwiftBeanCountRogersBankMapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nef10%2FSwiftBeanCountRogersBankMapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nef10%2FSwiftBeanCountRogersBankMapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nef10","download_url":"https://codeload.github.com/Nef10/SwiftBeanCountRogersBankMapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241369261,"owners_count":19951721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plaintext-accounting","rogers-bank","swiftbeancount"],"created_at":"2024-10-09T13:28:48.408Z","updated_at":"2025-03-01T13:23:32.717Z","avatar_url":"https://github.com/Nef10.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftBeanCountRogersBankMapper\n\n[![CI Status](https://github.com/Nef10/SwiftBeanCountRogersBankMapper/workflows/CI/badge.svg?event=push)](https://github.com/Nef10/RogersBankDownloader/actions?query=workflow%3A%22CI%22) [![Documentation percentage](https://nef10.github.io/SwiftBeanCountRogersBankMapper/badge.svg)](https://nef10.github.io/SwiftBeanCountRogersBankMapper/) [![License: MIT](https://img.shields.io/github/license/Nef10/SwiftBeanCountRogersBankMapper)](https://github.com/Nef10/SwiftBeanCountRogersBankMapper/blob/main/LICENSE) [![Latest version](https://img.shields.io/github/v/release/Nef10/SwiftBeanCountRogersBankMapper?label=SemVer\u0026sort=semver)](https://github.com/Nef10/SwiftBeanCountRogersBankMapper/releases) ![platforms supported: linux | macOS | iOS | watchOS | tvOS](https://img.shields.io/badge/platform-linux%20%7C%20macOS%20%7C%20iOS%20%7C%20watchOS%20%7C%20tvOS-blue) ![SPM compatible](https://img.shields.io/badge/SPM-compatible-blue)\n\n### ***This project is part for SwiftBeanCount, please check out the main documentation [here](https://github.com/Nef10/SwiftBeanCount).***\n\n## What\n\nThis is a small library to convert downloaded data from a Rogers Bank Credit Card (via [RogersBankDownloader](https://github.com/Nef10/RogersBankDownloader)) to the Beancount format (via [SwiftBeanCountModel](https://github.com/Nef10/SwiftBeanCountModel)).\n\n## Beancount meta data\n\nThe 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.\n\n## How\n\n1) Load your ledger, e.g. via  [SwiftBeanCountParser](https://github.com/Nef10/SwiftBeanCountParser)\n2) Create an instance of `SwiftBeanCountRogersBankMapper` using the ledger\n3) Dowload the accounts and activities you want to convert via the [RogersBankDownloader](https://github.com/Nef10/RogersBankDownloader)\n4) Use `mapAccountToBalance` and `mapActivitiesToTransactions` on the mapper to convert the downloaded data\n\nPlease also check out the complete documentation [here](https://nef10.github.io/SwiftBeanCountRogersBankMapper/).\n\n## Usage\n\nThe library supports the Swift Package Manger, so simply add a dependency in your `Package.swift`:\n\n```\n.package(url: \"https://github.com/Nef10/SwiftBeanCountRogersBankMapper.git\", .exact(from: \"X.Y.Z\")),\n```\n\n*Note: as per semantic versioning all versions changes \u003c 1.0.0 can be breaking, so please use `.exact` for now*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnef10%2Fswiftbeancountrogersbankmapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnef10%2Fswiftbeancountrogersbankmapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnef10%2Fswiftbeancountrogersbankmapper/lists"}