Plugin update download API
There are two ways to download the plugin version programmatically:
1. Download the latest plugin update compatible with a certain product
https://plugins.jetbrains.com/pluginManager?action=download&id=<pluginXmlId> &build=<productCode>-<buildNumber>
Where
pluginXmlIdis specified as aPlugin XML IDparameter on the right of the plugin's individual update page and in theplugin.xml.productCodeis a two-character product code (see product codes reference for more information.) It can be blank.buildNumberis a build number of the IDE (specified in theAbout Dialogin the product, and in the release notes.)
e.g. for Scala plugin (pluginXmlId=org.intellij.scala) & IntelliJ IDEA 2017.1 (productCode=IU, buildNumber=171.3780.107):
2. Download a specified version of the plugin
https://plugins.jetbrains.com/plugin/download?pluginId=<pluginXmlId> &version=<version>
Where
pluginXmlIdis specified as aPlugin XML IDparameter on the right of the plugin's individual update page and in theplugin.xml.versionis a version of the plugin update.
e.g. for Scala plugin (pluginXmlId=org.intellij.scala) & Version 2017.1.15:
https://plugins.jetbrains.com/plugin/download?pluginId=org.intellij.scala&version=2017.1.15