This documentation is DEPRECATED and provided for legacy purposes only. Please use the updated documentation at www.amee.com/developer .

AmeeClients/php

AMEE PHP Calculator

The AMEE php calculator is a fully working php calculator that is released under GPLv3. A working version is here  http://www.amee.cc/?p=70

Current version: 0.5 21 Nov 08

See the README.txt in the attached zip below for more details.

NOTE: The PHP calculator only works with AMEE 1 API keys. If you have signed up for an API key recently, it will be version 2. Please contact help@… to get your key set to work with version 1.

Version history

v0.5 added option for household/per person

21nov08

- /metadata item is now used

- results can be shown per person or household

- per person non-transport results are divided by metadata->numberInHousehold


v0.4 added option to give bill data

18oct08

- bill data link in totals.php

- option detailed moved from page_profile_init.php to no_/bill_options.php

- reloading of profilePage added to login_functions.php when switching bill option

- fixed bug in PageProfile?.php constructor, thanks to Marcus B and Julian B


v0.3 added details to match ActOnCO2 options

24sept08

- added more to page_profile_init.php


v0.2 minor fixes/changes

18jan08

- debug=true was potential security risk. Instead add &debug=AMEELOGINNAME,

i.e. the login for AMEE specified in login_details.php.

- cache to db_cache in login_details.php

- error_reporting(E_ALL E_NOTICE); added to started of index.php

- added extra advice on customising in README.txt


v0.1 base release

30oct07


Attachments