-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/18/24 21:03, John Ralls wrote:
> It wouldn’t be hard to add more keys to the GnuCash preferences page
> to collect API keys and set them as environment variables when
> querying F::Q, but is that the right way to do it? Can’t the key be
> passed in the query JSON? Same question for FQ_CURRENCY: Can that be
> passed in JSON instead of the environment?
I had thought that was how the AlphaVantage key set in GC's preferences
was handled. API keys and the desired currency rate module can be passed
when invoking F::Q. However, that could mean that multiple api keys may
need to be passed when using a quote source such as 'nyse' since
multiple modules (and more than one with an API key required) can
satisfy the quote requests.
Bruce S
-----BEGIN PGP SIGNATURE-----
iF0EARECAB0WIQRzL0H5rBaeDPnpeL1IjAeprJFQBwUCZkorywAKCRBIjAeprJFQ
B133AJ9MS1BdqgC0RQElF6KuBXVdCvXPCQCg0ImoToSsFJ8ggm9i9VKuvIDMGzc=
=iVSg
-----END PGP SIGNATURE-----
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel