Unlock the Plugin
Unlocking the plugin is the first step necessary to use the other API calls.
Parameters
- web_path
- String - the root URL of your web site.
- unlock_code
- String - The key provided by Garmin used to unlock the plugin.
Example Request
if(control.unlock(["http://mydomain.com","yourKeyGoesHere"])) { $('status').innerHTML = "The plug-in has been unlocked successfully"; } else { $('status').innerHTML = "The plug-in was not unlocked successfully"; }
