API Implementation Guide

Fetching Data Methods

Fetching the most recent transactions

To fetch the 50 most recent transactions, create a request as follows:

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

The response should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<budget>
	<transaction>
		<id>20762</id>
		<category>Home Supplies</category>
		<date>YYYY-MM-DD HH:MM:SS</date>
		<amount>3.22</amount>
		<credit>false</credit>
		<exclude>true</exclude>
	</transaction>
	<transaction>
		<id>2303</id>
		<category>Paycheck</category>
		<date>YYYY-MM-DD HH:MM:SS</date>
		<amount>1870.00</amount>
		<credit>true</credit>
		<exclude>false</exclude>
	</transaction>
	[...]
</budget>