Skip to content

Python 3 program to download SEC finance data in XBRL files from EDGAR and convert them into JSON format.

License

Notifications You must be signed in to change notification settings

scoofy/xbrl-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xbrl-to-json

Simple Python3 program to convert SEC XBRL datafiles to JSON format

to run at the current iteration, you'll need the ticker and the CIK, and form type, then simply run:

xbrl_to_json.main_download_and_convert(ticker, cik, form_type)

Current functional form types include: 10-Q, 10-K, 20-F, 40-F

I used the anytree node module because it deals with a lot of the inherent problems between markup xbrl and key,value json.

Finally, the program outputs a json file of the facts.

About

Python 3 program to download SEC finance data in XBRL files from EDGAR and convert them into JSON format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages