<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Finance::Bank::JP::Mizuho

SYNOPSIS
        my $mizuho = Finance::Bank::JP::Mizuho-new(
            consumer_id =&gt; '123455678',
            password =&gt; 'p45sW0rD',
            questions =&gt; {
                'ćŻŤč¦Şă®čŞ•ç”źć—ĄăŻă„ă¤ă§ă™ă‹ďĽäľ‹ďĽšďĽ•ćśďĽ‘ďĽ”ć—ĄďĽ‰' =&gt; 'ďĽ‘ďĽćśďĽ‘ć—Ą', # have to use 2byte digits, sucks
                'ćś€ă‚‚ĺą´é˝˘ă®čż‘ă„ĺ…„ĺĽźĺ§‰ĺ¦ąă®čŞ•ç”źć—ĄăŻă„ă¤ă§ă™ă‹ďĽäľ‹ďĽšďĽ’ćśďĽ‘ďĽć—ĄďĽ‰' =&gt; 'ďĽ‘ďĽ’ćśďĽ’ć—Ą',
                'ĺżśćŹ´ă—ă¦ă„ă‚‹ă‚ąăťăĽă„ăăĽă&nbsp;ă®ĺŤĺ‰ŤăŻä˝•ă§ă™ă‹' =&gt; 'éŞçĄžă‚żă‚¤ă‚¬ăĽă‚ą',
            },
        );
    
        my $accounts = $mizuho-&gt;accounts;
    
        my $ofx = $mizuho-&gt;get_ofx(
            $mizuho-&gt;accounts-&gt;[0],
            $mizuho-&gt;CONTINUATION_FROM_LAST,
        );

DESCRIPTION
    Perl interface to access your Mizuho Direct
    &lt;http://www.mizuhobank.co.jp/direct/start.html&gt; account.

CONSTANT
  CONTINUATION_FROM_LAST
    Value for "get_ofx"

  SAME_AS_LAST
    Value for "get_ofx"

  LAST_TWO_MONTHS
    Value for "get_ofx"

FUNCTIONS
  new ( %config )
    Creates a new instance.

    %config keys:

     consumer_id
       Consumer id of Mizuho Direct ( ăŠĺ®˘ă•ăľç•ŞĺŹ· )

     password
       Password for your consumer_id

     questions
       Hash reference paired with: Key as Question, Value as Answer

  consumer_id
  accounts
    returns array of Finance::Bank::JP::Mizuho::Account

  account_by_number ( $number )
    returns an instance of Finance::Bank::JP::Mizuho::Account

  get_ofx ( $account_or_number , $term )
    $account_or_number: an instance of Finance::Bank::JP::Mizuho::Account OR
    bank account number

    $term :

    "CONTINUATION_FROM_LAST"
    "SAME_AS_LAST"
    "LAST_TWO_MONTHS"

    returns list of hash references, parsed by Finance::OFX::Parse::Simple

  get_raw_ofx ( $account_or_number , $term )
    arguments are same as "get_ofx".

    returns OFX content as scalar

  host
    returns random host, provided by Mizuho Direct web service.

  logged_in
    returns this instance has logged in

  login
    returns logged in successfully.

    calling this method is not neccesary.

  logout
    if you leave the process without calling this method, the account will
    be locked for about 10 minutes, and you will not able to access the web
    service.

  password
  questions
  ua
TESTING
    To test this module with real bank data,

    Type on the shell:

        $ ppit set web.ib.mizuhobank.co.jp

    $EDITOR launches, then set your account information using Config::Pit
    like the bellow.

        ----
        consumer_id: '123455678'
        password: 'p45sW0rD'
        questions:
            'ćŻŤč¦Şă®čŞ•ç”źć—ĄăŻă„ă¤ă§ă™ă‹ďĽäľ‹ďĽšďĽ•ćśďĽ‘ďĽ”ć—ĄďĽ‰' : 'ďĽ‘ďĽćśďĽ‘ć—Ą'
            'ćś€ă‚‚ĺą´é˝˘ă®čż‘ă„ĺ…„ĺĽźĺ§‰ĺ¦ąă®čŞ•ç”źć—ĄăŻă„ă¤ă§ă™ă‹ďĽäľ‹ďĽšďĽ’ćśďĽ‘ďĽć—ĄďĽ‰' : 'ďĽ‘ďĽ’ćśďĽ’ć—Ą'
            'ĺżśćŹ´ă—ă¦ă„ă‚‹ă‚ąăťăĽă„ăăĽă&nbsp;ă®ĺŤĺ‰ŤăŻä˝•ă§ă™ă‹' : 'éŞçĄžă‚żă‚¤ă‚¬ăĽă‚ą'

    set environment variable "MIZUHO_TEST_CONFIG", instead of
    *web.ib.mizuhobank.co.jp*.

        $ export MIZUHO_TEST_CONFIG=just_testing_mizuho
        $ ppit set just_testing_mizuho

SEE ALSO
    Finance::OFX::Parse::Simple

AUTHOR
    Atsushi Nagase &lt;ngs@cpan.org&gt;

COPYRIGHT AND LICENSE
    Copyright (C) 2011 Atsushi Nagase &lt;ngs@cpan.org&gt;

    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

</pre></body></html>