[GNC] [Finance-quote-news] Finance-Quote 1.56 released!
write2mark1 at gmail.com
write2mark1 at gmail.com
Wed May 31 14:08:20 EDT 2023
where to find this pls
in addition to Mr. Ralls' fine
example post earlier today of using the gnucash-cli utility included
with GnuCash 5.x).
On Wed, May 31, 2023 at 10:45 AM Bruce Schuck <bschuck at asgard-systems.com>
wrote:
> On Tue, May 30, 2023 at 08:06 PM EDT write2mark1 at gmail.com wrote:
>
> > Finance::Quote::YahooJSON couldnt get it to work any help or advise
> > appreciated
> Also included was a handful of scripts that did not work.
>
> The documentation for each module contains examples (although I have
> found a few of them to be incorrect examples). But here is a quick Perl
> script using the YahooJSON module (in addition to Mr. Ralls' fine
> example post earlier today of using the gnucash-cli utility included
> with GnuCash 5.x).
>
> ##### SNIP HERE #####
> #!/usr/bin/perl
>
> use strict;
>
> use Finance::Quote;
>
> my ($q, $key, $value, %info);
>
> $q = Finance::Quote->new;
>
> %info = $q->fetch('yahoo_json','AAPL','F');
>
> foreach $key (keys %info) {
> $value = $info{$key};
> print "$key: $value\n";
> }
> ##### SNIP HERE #####
>
> Bruce S.
>
More information about the gnucash-user
mailing list