Download and process Brazilian companies' financial data directly from CVM web server:
http://dados.cvm.gov.br/dados/CIA_ABERTA/DOC/DFP/
./rapina get
It downloads all files from CVM web server, parses their contents and stores on this sqlite database: .data/rapina.db
.
./rapina list
./rapina report <"COMPANY NAME">
For example:
./rapina report WEG
./rapina report "TEC TOY"
The spreadsheet will be saved at .data/COMPANY_NAME.xlsx
- Clone this repo to your PC (
git clone https://github.com/adrprado/rapina
) - Change to CLI directory (
cd rapina/cli
) - Compile using the Makefile (
make
). To cross compile for Windows on Linux, usemake win
.
- Fork it
- Download your fork to your PC (
git clone https://github.com/your_username/rapina && cd rapina
) - Create your feature branch (
git checkout -b my-new-feature
) - Make changes and add them (
git add .
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new pull request
MIT