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

Sebastian M. Ernst ernst at pleiszenburg.de
Thu Apr 2 09:56:52 PDT 2020


@FS,

thanks for your reply.

I already expected that I had to parse the HTML ...

@all,

How hard is it to patch this feature into the current infrastructure? Is
it more a coding issue or a server resource issue (i.e. handling such
requests)? Reading `/qgis-app/plugins/urls.py` and
`/qgis-app/plugins/views.py` (from QGIS-Django), it appears that "all"
that would be required is a new view of `PluginsList`. Disclaimer: I
have very little experience with Django and your infrastructure.

Best regards,
Sebastian


Am 02.04.20 um 18:37 schrieb F. Shah:
> 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<https://github.com/qgis/QGIS-Django/blob/33b7786e5201f14e9a80f512da9e76f7b94ad772/qgis-app/plugins/docs/introduction.rst#plugins-xml>
> 
> Hope this helps.
> regards,
> FS
>  


More information about the QGIS-Developer mailing list