A pure Julia implementation of the py-xbrl
Python package by Manuel Schmidt.
julia> using Pkg
julia> Pkg.add("XbrlXML")
julia> using XbrlXML
julia> cache = HttpCache("/Users/robsimms/cache/")
/Users/robsimms/cache/
julia> header!(cache, "User-Agent" => "You, yourname@domain.com")
Dict{String, String} with 1 entry:
"User-Agent" => "You, yourname@domain.com"
julia> url = "https://www.sec.gov/Archives/edgar/data/0000789019/000156459021002316/msft-10q_20201231.htm";
julia> xbrl = parseinstance(cache, url)
msft-10q_20201231.htm with 1574 facts
julia> msft = facts(xbrl);
julia> msft[4]
EntityCommonStockSharesOutstanding: 7,542,215,767