Code Monkey home page Code Monkey logo

gas-myjcb-detail-checker's Introduction

gas-myjcb-detail-checker

MyJCBからご利用明細のPDF/CSVを取得して、Google Driveに保存するGoogle Apps Scriptです。 Google Driveへの保存後に、指定したメールアドレスへメール通知してくれます。

Install

  1. Google Driveのスクリプトエディタで新しいプロジェクトを作成
  • standaloneのプロジェクトで良いです。
  • やり方がわからない場合は、スプレッドシートを新規に作成し、メニューの[ツール]-[スクリプトエディタ]からプロジェクトを作成してください。
  1. main.gs の中身をコピペして保存
  • Google Apps ScriptのソースをImportするのは煩雑なので、とりあえず。。。
  1. スクリプトプロパティを設定
  • スクリプトエディタのメニューの[ファイル]-[プロジェクトのプロパティ]-[スクリプトのプロパティ]を選択
  • 以下のプロパティを追加
    • userId
      • MyJCBのログインIDを指定
    • password
      • MyJCBのログイン用パスワードを指定
    • mailTo
      • ご利用明細保存通知先メールアドレスを指定(複数アドレス設定時は、カンマ区切りでメールアドレスを連結)
    • folderName
      • ご利用明細PDF/CSVの保存先フォルダ名
  1. トリガーの設定
  • 月次で定期実行できるようにトリガーを設定する
  • スクリプトエディタのメニューの[リソース]-[現在のプロジェクトのトリガー]を選択し、GetLatestDetailFile を定期的に実行するよう設定する
  • トリガーの保存時に、各種パーミッションを要求されるので、承認する

TODO

  • もっとsmartにInstall/Updateできるようにしたい

gas-myjcb-detail-checker's People

Contributors

takeruko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gas-myjcb-detail-checker's Issues

Cannot Login / csv contains no data with "NaN.csv"

Hello,
I am new here and trying to download my monthly data with csv file.
I checked your website and I think I have set proper username/PW but it seems it fails to login.
Can you still able to download pdf/csv file?
Thank you

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.