The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::FaucetBOX - WebService::FaucetBOX - FaucetBOX (faucetbox.com) API bindings

VERSION

version 0.01

SYNOPSIS

    my $faucetbox = WebService::FaucetBOX->new(
        api_key    => 'abc',
        currency   => 'BTC', # optional, defaults to BTC
        logger     => Log::Tiny->new('/tmp/foo.log'), # optional
        log_method => 'info', # optional, defaults to 'DEBUG'
        timeout    => 10, # optional, defaults to 10
        retries    => 0,  # optional, defaults to 0
    );

    # To send 500 satoshi to address
    my $result = $faucetbox->send("1asdbitcoinaddressheredsa", 500);

See https://faucetbox.com/en/api for call arguments

METHODS

base_url

currency

auth_token

send

getBalance

getBalance

getPayouts

sendReferralEarnings

SEE ALSO

AUTHOR

Todd Wade <waveright@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Todd Wade.

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