Code Monkey home page Code Monkey logo

zaim_connector's Introduction

Zaim-Connector

about

各種サービスの入金・出金履歴CSVを、zaimのCSV入力に変換するためのソフトです。

requirements

  • ruby 3.3.0

install

$ git clone hogehoge
$ cd zaim-connector
$ bundle install
$ ruby app.rb convert paypay 2024/02/21 2024/05/21

使い方

設定

入力したいCSVファイルの形式に応じて、config/{type}.csvを用意する必要があります。 config/paypay.csvは、履歴出力 for PayPayから出力したCSVの設定例です。

description_column_index: 明細の詳細が格納されている列のインデックス
shop_name_column_index: 店名が格納されている列のインデックス
payment_amount_column_index: 利用金額が格納されている列のインデックス
time_column_index: 利用日時が格納されている列のインデックス
time_format: 利用日時のフォーマット

time_formatの形式は、Time.strptimeの形式です。

ファイルの用意

入力したいファイルを、datasource/{type}.csv として配置します。

CLI

$ruby app.rb convert {type} {start_at: 取り込み対象期間の開始日時(必須)} {end_at: 取り込み対象期間の終了日時(任意)}

end_atを指定しなかった場合、現在時刻がend_atとして扱われます。

zaim_connector's People

Contributors

saxtondrey avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.