API
From Amahi Wiki
Documentation for the ruby lib for working with the Amahi API's REST interface.
The first thing you need to set is the api key. This is the settings in your HDA
AmahiApi.api_key = 'abcxyz123'
If no api_key or improper api_key is given, all calls will fail.