This repository has been archived by the owner on Feb 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
[DEPRECATED] Use Golang version: https://github.com/binzume/gobanking
binzume/mizuhodirect-ruby
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a MizohoDirect (Mizuho internet banking) library for Ruby. - http://www.mizuhobank.co.jp/direct/index.html Require: Ruby 1.9 or later. Feature: - 残高取得 - 取引履歴 - 登録済み口座への振込(experimental) - 振替(experimental) Exapmple: # mizuho_account.yaml ID: "1234567890" PASS: "********" QA: - q: "中学校" a: "山田太郎" - q: "研究室" a: "hoge" - q: "都市" a: "fuga" みずほダイレクトのアカウント情報と,秘密の質問を識別するための部分文字列+質問への回答を設定してください. #!/usr/bin/ruby -Ku # -*- encoding: utf-8 -*- require 'yaml' require_relative 'mizuhodirect' mizuho_account = YAML.load_file('mizuho_account.yaml') bank = MizuhoDirect.new # login unless bank.login(mizuho_account) puts 'LOGIN ERROR' exit end begin puts 'total: ' + bank.total_balance.to_s bank.recent.each do |row| p row end ensure # logout bank.logout end puts "ok" License: - MIT
About
[DEPRECATED] Use Golang version: https://github.com/binzume/gobanking
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published