API Key

David T. sunfish62 at yahoo.com
Sat Nov 11 01:25:33 EST 2017


Les, Dave,

Thanks for airing this out a little more. 

I had not succeeded in getting this to work, mostly because I didn’t understand the FAQ, which tells us to add the environment key to "<prefix>/etc/gnucash/environment where prefix is:” in one spot, and then says "/Applications/Gnucash.app/Contents/Resources on MacOS."

Apparently my memory has become so abbreviated that by the time I got to the second part, I had forgotten about the first part, and added the variable to a new environment file in “/Applications/Gnucash.app/Contents/Resources”, rather than adding the value to the functional (and already existing) environment file in /Applications/Gnucash.app/Contents/Resources/etc/gnucash/environment.

I have modified the FAQ so that this ambiguity is removed. You might call it idiot-proofing. I’ll own that.

David

> On Nov 11, 2017, at 4:03 AM, Les <lelliott5 at gmail.com> wrote:
> 
> Thanks, that worked.  Now I'm good to go on both systems.
> 
> Thanks to all.
> 
> Les
> 
> 
> On 11/10/2017 03:13 PM, Dave H wrote:
>> Les,
>> 
>> Just right click on the environment file name in finder and choose "Open With" / "TextEdit.app".  Scroll down and add it to the bottom of the file and then save the file, exit text editor and you're away
>> 
>> i.e.
>> 
>> # Setup ALPHAVANTAGE_API_KEY for Finance:Quote
>> ALPHAVANTAGE_API_KEY=xxxxxxxxxxxxxxxxxxxxx
>> 
>> Cheers Dave H.
>> 
>> On 11 November 2017 at 06:09, Les <lelliott5 at gmail.com <mailto:lelliott5 at gmail.com>> wrote:
>> 
>>    I successfully added the API to Linux MInt 18.2. (I used sudo xed
>>    to add the key. After, I used Security Editor to change my stocks
>>    to Alphavantage.) Thanks for the pointers.
>> 
>>    How do I make the entry on MacOS 10.13?  I am rather new to Mac so
>>    I don't know how to do edits.  I know what and where I need to
>>    make the entry.
>> 
>>    Thanks,
>> 
>> 
>> 
>>    On 11/10/2017 10:24 AM, Maf. King wrote:
>> 
>>        Hi Les,
>> 
>>        have a read of the FAQ - there is a recently added bit about
>>        adding the API
>>        key.
>> 
>>        https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_online_quoting_work.3F
>>        <https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_online_quoting_work.3F>
>> 
>>        HTH,
>>        Maf.
>> 
>> 
>>        On Friday, 10 November 2017 16:07:52 GMT Les wrote:
>> 
>>            I just obtained an API key from AlphaVantage, but I do not
>>            have a clue
>>            as to how to add the key to my LInux Mint or Mac OS systems.
>> 
>>            Could someone please walk me through the process?
>> 
>> 
>>            Thanks,
>> 
>>            Les
>> 
>>            _______________________________________________
>>            gnucash-user mailing list
>>            gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
>>            https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>            <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.
>> 
>> 
>> 
>>    _______________________________________________
>>    gnucash-user mailing list
>>    gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
>>    https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>    <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.
>> 
>> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> 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