mookie-/moneywaste
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Badly programmed script to get your amazon orders into a sqlite3 database and draw a graph of your monthly outgoing. Works only with amazon.de at the moment. Usage: - copy .moneywaste-example to you homedir as .moneywaste - create sqlite3 database named `moneywaste` and import table from `moneywaste.sql` - `sqlite3 moneywaste.sqlite` - `.read moneywaste.sql` - run `moneywaste.rb startyear endyear` - you can also run the data collecting task and draw taks seperatly: - `moneywaste.rb startyear endyear data` - `moneywaste.rb startyear endyear draw` - example: `moneywaste.rb 2011 2012` Todos: - add error handling - add configuration options for login-url, order-url and graph-filename - change script to work with other amazon sites (.com, .co.uk, ...) - learn to write good code - improve code quality License: # # * ---------------------------------------------------------------------------- # * "THE BEER-WARE LICENSE" (Revision 42): # * <kim@maisspace.org> wrote this file. As long as you retain this notice you # * can do whatever you want with this stuff. If we meet some day, and you think # * this stuff is worth it, you can buy me a beer in return Kim # * ---------------------------------------------------------------------------- #