Sha256: 96f1a75e756573091031d16da85df92e2803bcecba900bbef3c12308a4ae6e85

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

== AMEE-Ruby

A gem to provide a Ruby interface to the AMEE carbon calculator (http://amee.cc)

Licensed under the MIT license (See COPYING file for details)

Author: James Smith (james@floppy.org.uk / http://www.floppy.org.uk)

Homepage: http://github.com/Floppy/amee-ruby

== INSTALLATION

1) Enable gems from github, if you haven't already done so (rubygems >= 1.2): 
    > sudo gem sources -a http://gems.github.com

2) Install gem
    > sudo gem install Floppy-amee

== USAGE

Currently, you can read DataCategories, DataItems and DataItemValues. See 
examples/view_data_*.rb for simple usage examples. You can also get the list
of available Profiles. See examples/list_profiles.rb for details.

The gem will use the AMEE JSON API if the JSON gem is installed on the local
system. Otherwise the XML API will be used. Currently, only DataCategories and
Profile lists are supported with JSON, so you can disable JSON support by setting
the fourth argument to AMEE::Connection.new() to false:

 > AMEE::Connection.new($srv, $user, $pass, false) # last arg disables JSON support

== INTERACTIVE SHELL

You can use the 'ameesh' app to interactively explore the AMEE data area. Run
'ameesh -u USERNAME -p PASSWORD -s SERVER' to try it out. Source code for this 
tool is in bin/ameesh and lib/amee/shell.rb. Profiles are not accessible through
this interface yet.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Floppy-amee-0.1.5 README