My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
MoneyTrackin  
Sample Usage, Known issues & Dependencies.
Featured
Updated Oct 11, 2009 by sheherya...@gmail.com

Introduction

A Ruby client for MoneyTrackin's REST api. Documentation of the api can be found at http://help.moneytrackin.com/index.php/REST_API

Sample usage

mt = MoneyTracking::MoneyTrackin.new( MoneyTracking::HttpAuth.new(username, password) )

#list the currencies supported by MoneyTrackin
mt.currencies.each { |c| puts "Currency: " + c.name + "\tid " + c.id }

#The main account's id is an empty string
accounts = mt.get_accounts()
accounts.each { |a| puts "Account\t" + a.id + "\tName: " +  a.name + " Balance: " +   a.balance.to_s}

Known Issues

  • get_tags will always return the tags for the main account
  • Periodic not supported for add transaction
  • Edit transaction not supported
  • Get User data not supported

Todo

  • Objects returned by functions need to be documented

Dependencies

  • httparty
  • mash
  • digest/md5

Sign in to add a comment
Powered by Google Project Hosting