Since the release of PhoneGap 3.0 all the APIs are available as external plugins; you will learn more about plugins later in this book. At this point, all you need to know is that treating each single API as a plugin allows you to compose a version of PhoneGap suited to your project needs.
Plugins are installed and removed using a tool called Plugman ; from a developer's point of view it's just a command available in the cordova-cli utility.
$ cordova plugin add URL_TO_THE_GITHUB_REPO
where URL_TO_THE_GITHUB_REPO
is the path to the plugin (i.e., API) repository.
The following list summarizes the currently available APIs and the command to run to add them to a PhoneGap project. If you want to remove a plugin, use the $ plugins remove
command instead.