[GNC] Yahoo JSON - throwing unauthorized error

Bruce Schuck bschuck at asgard-systems.com
Sat May 6 18:34:03 EDT 2023


On Sat, May 6 2023 at 17:45 EDT Michael wrote:

> Thanks Bruce.  Worked great calling the v6 version of the API.

>> 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.
This quick fix and a few other recent changes to be incorporated in 
v1.55 has been pushed to CPAN.

https://www.cpan.org/modules/by-authors/id/B/BP/BPSCHUCK/Finance-Quote-1.5402.tar.gz

- Bruce S.


More information about the gnucash-user mailing list