Topic: DESC tag

Hi,

I'm attempting to modify a Python script I found here so that we may use it to retrieve our users' financial information. I've got it working for the most part, but I've been unable to retrieve information inside the DESC tag, which I believe to be where the name of the account is stored. I've seen places like Mint.com and my bank's website be able to access and display the name, but I'm not receiving it with my requests. It is pasted below:

OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:newfileuid

<OFX>
    <SIGNONMSGSRQV1>
        <SONRQ>
            <DTCLIENT>20090928120135
            <USERID>userid
            <USERPASS>userpass
            <LANGUAGE>ENG
            <FI>
                <ORG>org
                <FID>fid
            </FI>
            <APPID>QWIN
            <APPVER>1600
        </SONRQ>
    </SIGNONMSGSRQV1>
    <SIGNUPMSGSRQV1>
        <ACCTINFOTRNRQ>
            <TRNUID>trnuid
            <CLTCOOKIE>4
            <ACCTINFORQ>
                <DTACCTUP>19700101000000
            </ACCTINFORQ>
        </ACCTINFOTRNRQ>
    </SIGNUPMSGSRQV1>
</OFX>

newfiluid and trnuid are generated with the following function:

def _genuuid():
    return uuid.uuid4().hex

Thanks in advance,
Sean

Re: DESC tag

I have seen DESC as follows in OFX output:

<BAL>
<NAME>Savings</NAME>
<DESC>Savings</DESC>
<BALTYPE>DOLLAR</BALTYPE>
<VALUE>0</VALUE>
<DTASOF>20090701200736</DTASOF>
</BAL>

or

<BAL>
<NAME>Networth
<DESC>The net market value of all long and short positions in the account
<BALTYPE>DOLLAR
<VALUE>620.09
<DTASOF>20090813033005.000[-4:EDT]
<CURRENCY>
<CURRATE>1.000
<CURSYM>USD
</CURRENCY>
</BAL>

DESC is a human readable description.