Plugin Repository API
Where can I find description of Plugin Repository API?
E.g. I'd like to get downloads count for different plugins in JSON format.
Of course I can shiff IDEA traffic, but maybe you have API description that is not covered by this low-functional https://github.com/JetBrains/plugin-repository-rest-client.
Also do you support access tokens for bots?
Please sign in to leave a comment.
>Where can I find description of Plugin Repository API?
We're preparing a description of the public Plugin Repository API which will be posted in the IntelliJ SDK, but for now it will include the same API used in the https://github.com/JetBrains/plugin-repository-rest-client. We're working on the API improvements and will eventually expose much more methods, but they are not available now.
>E.g. I'd like to get downloads count for different plugins in JSON format.
If you are talking about total download count of different plugins, you can use XML API which is a part of our IntelliJ-PluginsRepository protocol: https://plugins.jetbrains.com/plugins/list/?build=%PRODUCT_CODE%-%BUILD-NUMBER% (e.g. https://plugins.jetbrains.com/plugins/list/?build=IU-171.3780.107 for the latest IntelliJ IDEA Ultimate) to get a list of all compatible plugins for a product, and also https://plugins.jetbrains.com/plugins/list?pluginId=%PLUGIN_XMLID% (e.g. https://plugins.jetbrains.com/plugins/list?pluginId=IdeaVIM for IdeaVIM) to get information about the plugin.
If you would like to get detailed statistics of the plugin (e.g. breakdown by day), there is an internal API we use to build the page, but you won't be able to get this stats for plugins you don't own. This API will change in the future and then we'll document it (that's why I refer to it as internal), but if you want to use it right now, let me know, I can share information on how it looks like now.
>Also do you support access tokens for bots?
Not at this point, but we are planning to do that in the near future.
In the meantime, I'd be glad if you share which API methods you are interested in, so that we add them to the API development plan.
Thank you, I've used XML API