qgis/QGIS-Hub-Plugin

Store the Response from the API as a File

ismailsunni opened this issue · 0 comments

Feature description

The resources hub is not updated frequently. It's better to only do a request to the resource hub API once in a while. We will populate the resource from the stored response. We will need to implement these:

  • Store the response from the API as a file (e.g. QGIS_PROFILE_DRIECTORY/qgis_hub/response.json)
  • Load from when opening the browser dialog (see: populate_resources function)
  • Add a button to reload resources (re-fetch the resource and update the file) in the browser dialog

Additional context

No response