Skip to content

script to save amazon orders into database and draw graph

Notifications You must be signed in to change notification settings

mookie-/moneywaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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):
#   * <[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
#   * ----------------------------------------------------------------------------
#

About

script to save amazon orders into database and draw graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages