[GNC] Yahoo JSON - throwing unauthorized error
Fross, Michael
michael at fross.org
Sat May 6 17:45:53 EDT 2023
Thanks Bruce. Worked great calling the v6 version of the API.
On Sat, May 6, 2023 at 2:13 PM Bruce Schuck <bschuck at asgard-systems.com>
wrote:
> Ken,
>
> I am currently evaluating which of the alternatives is the best
> replacement. I'm also a little hopeful that in the meantime the
> functionality of the current URL/API is restored before the time is
> spent to not only make the changes, but the related housekeeping
> necessary before pushing an official release to CPAN.
>
> In the mean time, for those savvy enough to find and edit the
> YahooJSON.pm file on their system, a quick fix is to change this line:
>
> my $YIND_URL_HEAD =
> 'https://query1.finance.yahoo.com/v7/finance/quote?symbols=';
>
> to:
>
> my $YIND_URL_HEAD =
> 'https://query1.finance.yahoo.com/v6/finance/quote?symbols=';
>
> Be wary that there may be multiple versions of the YahooJSON.pm file and
> a system, so be certain to modify the correct one.
>
> - Bruce S.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
More information about the gnucash-user
mailing list