should ALPHAVANTAGE_API_KEY be a system or user variable

Derek Atkins warlord at MIT.EDU
Tue Nov 14 12:24:13 EST 2017


Geert Janssens <geert.gnucash at kobaltwit.be> writes:

> Op maandag 13 november 2017 22:20:31 CET schreef Derek Atkins:
>> Geert,
>> 
>
>> Why can't we just setenv() or putenv() the API Key prior to calling the
>> scripts?
>> 
>
> gnc-fq-dump is not called from within gnucash so it's up to the caller to 

Ah, right.  I wasn't thinking of that, I was thinking about from within
GnuCash.

One thing we COULD do is add a UI to GnuCash that lets the user input
the API Key and have GnuCash store it wherever F::Q looks for it, be
that in ~/.fqrc or any other place.

The benefit is the simplicity; it makes it easier for GnuCash users.
But it still allows for manual configuration.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list