
Calais AS3 API is an ActionScript 3 class, that contains an easy to use lite actionscript for the core function of Open Calais.
Usage of the class
import com.andzol.api.Opencalais; import com.andzol.api.OpencalaisEvent; //Inside function var opencalais:Opencalais = new Opencalais("yourapikey"); opencalais.addEventListener(OpencalaisEvent.ONRESULT,opencalaisHandler) opencalais.getData("any string") //Handler private function opencalaisHandler (event:OpencalaisEvent):void { var data:Array = event.data for (var i:Number = 0; i < data.length;i++ ) { trace(data[i].name,data[i].type,data[i].typeGroup) } }
Feel free to download and reuse, if you have any question contact with the author.
Download Calais AS3 API
Current version 0.8.1