joeyism / py-edgar

A small library to access files from SEC's edgar
GNU General Public License v3.0
227 stars 52 forks source link

Made the get_documents function return html type #7

Closed kbennatti closed 4 years ago

kbennatti commented 4 years ago

Hi Joey, as user, I suggest having get_documents return a type that's consistent with the output of company.get_10K(). With the update I made users are now able to do this: company = Company(name, ciq) tree = company.get_all_filings(filing_type="10-K")#YYYYMMDD docs = get_documents(tree, no_of_documents=2) text = TXTML.parse_full_10K(docs[0])