qgis / QGIS-Django

Django project for QGIS related activities such as plugin repository
http://qgis.org
GNU General Public License v2.0
90 stars 61 forks source link

Create API to Interact with Hub Resources #275

Open ismailsunni opened 1 year ago

ismailsunni commented 1 year ago

Currently, we are only able to download/upload/update QGIS Hub Resource via the web. It would be really great if we have an API to do this. Then we can integrate the QGIS Hub into QGIS so that QGIS users are able to access it directly from QGIS.

API needed:

~for starter (read-only)~ ~- Get the list of resources for each resource type (e.g. style, project, model, etc)~ ~- Get the information for each resource~ ~- Download the resource itself~

For later

cc @timlinux @dimasciput

ismailsunni commented 1 year ago

I found out that some of them are already there, see: https://github.com/qgis/QGIS-Django/blob/master/qgis-app/api/urls.py

Xpirix commented 1 month ago

@ismailsunni Please find the proposed changes at #471

Regards.