API Implementation Guide

Fetching Data Methods

Fetching the total amount spent

To fetch the total amount spent, create a request as follows:

[ ~ ] $ curl -u 89e495e7941cf9e40e6980d14a16bf023ccd4c91:X http://budgety.net/api/get/spent

The response should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<budget>
	<currency>$</currency>
	<spent>739.32</spent>
</budget>