-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
34 lines (27 loc) · 1.25 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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):
# * <[email protected]> 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
# * ----------------------------------------------------------------------------
#