0

I have a QGIS3 python plugin that I would like to track its users' usage. Is it possible to add a http request to the headers? How can I do it?

ManuCiao
  • 121
  • 1
  • 3

1 Answers1

0

The biggest obstacle is that an http request package should be installed (like requests). This easy to do in the osgeo4w shell for a particular installation of QGIS, but it can't be done from within a plugin (as far as I can tell).

However, there's nothing to stop you from inserting requests.post(path,headers,data) into your plugin script files.

timothyh
  • 169
  • 2
  • 8