import"sbILastFmWebServices.idl";
Definition at line 49 of file sbILastFmWebServices.idl.
ApiCall - Make an API call against the new Last.fm API See http://www.last.fm/api/rest for the list of API calls that are available.
- Parameters
-
aMethod | The method name. |
aArguments | A property bag of arguments using key,value. This can also be a simple hash object: var args = { name: value, name2: value2 }; |
aCallback | The callback to inform when complete, this can either be the sbILastFmWebServicesResponse or a function that resembles the responseReceived function in sbILastFmWebServicesResponse. |
Authentication, API keys and request signing will be taken care of automatically. So there is no need to include them in the arguments. The values in the aArguments nsIPropertyBag must be strings as they will be passed as paramaters in the URI or POST call. Currently this does not work for write calls as we do not log in.
readonly attribute boolean sbILastFmWebServices::loggedIn |
readonly attribute string sbILastFmWebServices::username |
The documentation for this interface was generated from the following file: