[QGIS-Developer] plugins.qgis.org API: Get all available versions of a plugin?

F. Shah insar at me.com
Thu Apr 2 09:37:42 PDT 2020


Hi Sebastian,

I fear it is not possible with the current infrastructure. As per the documentation in QGIS-Django this plugin.xml API only accept two parameters i.e. qgis: qgis_Version and stable_only: 0/1, default to 0.



More information is here: https://github.com/qgis/QGIS-Django/blob/master/qgis-app/plugins/docs/introduction.rst#plugins-xml



Hope this helps.

regards,

FS


On April 2, 2020 at 5:51 PM, "Sebastian M. Ernst" <ernst at pleiszenburg.de> wrote:


Hi all,

yet another question on plugins: `plugins.qgis.org` has an API which
lists all available plugins for a specific version of QGIS. Query syntax:

https://plugins.qgis.org/plugins/plugins.xml?qgis=x.y.y

It appears that this API will always return information on *the latest*
release of a plugin that is compatible with a specific version of QGIS.
It does not list (older) releases of plugins that may also be
compatible. The web app technically has the capability, though only in
HTML (targeting human users). E.g. the "versions" tab on
https://plugins.qgis.org/plugins/QuickOSM/ will show all releases of
QuickOSM - while multiple of those should be compatible with e.g. QGIS
3.10.0.

Is there an XML (or similar kind of API) end point that would allow me
to fetch a list of available releases of an individual plugin? Either
for one version of QGIS or for all (so I can filter it myself locally)?

Thanks,
Sebastian
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200402/fb48453c/attachment-0001.html>


More information about the QGIS-Developer mailing list