/** * Run in your JavaScript console. * * To run this example, open your JavaScript console, paste the JavaScript code * hereafter and replace the variables where necessary. */ var apiKey = "YOUR_API_KEY"; var APIdazeClientObj = new APIdaze.CLIENT({ apiKey: apiKey, debug: true, onReady: function() { alert("Success !"); }, onError: function(errorMessage){ alert("Got error : " + errorMessage); } });