Cartos
This gem allows anyone who's using cashbase to export all of his data to a Google Spreadsheet. The data on one spreasheet has to belong to one single year. There will be one sheet for each month and one extra sheet summarizing the whole year.
You can see here an example of one of this Spreadsheets.
Homepage : https://github.com/madtrick/cartos
Author : Farruco Sanjurjo (@madtrick)
Installation
$ gem install cartos
Usage
Configuration
Firs of all you must create the config file that cartos
needs. To create it, run:
$ cartos init
This command will create an empty config file in $HOME/.cartos.yml
. Following is a litle explanation of each config value:
google_spreadsheet.key
: this is the key of the spreasheet that cartos will use. You can find it in the url of the spreeadsheetgoogle_spreadsheet.username
: your google drive username.google_spreadsheet.password
: your google drive password.cashbasehq.account_name
: the wallet that you want to export.cashbasehq.username
: your cashbase username.cashbasehq.password
: your cashbase password.
Exporting
For exporting your cashbase data to Google you have two choices:
Download yourself an export from Cashbase and give it as input to cartos
$ cartos export -f /path/to/the/export.csv -y 2012
Let cartos handle it for you. If you have included your cashbase credentials in the config file, cartos will download itself your cashbase data.
$ cartos export -y 2012
Notice that in both cases you have to especify the year.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request