[Qgis-user] Http access to json return

Ben Hur Pintor bnhr.dev at gmail.com
Wed Jun 24 01:23:25 PDT 2020


Hi!

If it's a vector layer (e.g. geojson response) that you'll load via API,
you can try using the Data Source Manager -> Vector Tab and use *Protocol:
HTTP(S), cloud, etc.*. You can select the proper *Type* and input the
*URI* similar
to the image below. This will load the file/response as a QGIS layer.



I haven't tried it yet for CSV / non-spatial data though.

All the best,
Ben Hur

On Wed, Jun 24, 2020 at 2:23 PM Andreas Neumann <a.neumann at carto.net> wrote:

> Hi Steve,
>
> Not that I know of, but:
>
> - you could have an onload Python script that runs when the form opens
>
> - you could have a web-widget with an onload javascript that does some
> network requests
>
> Such rather "developer centric" questions are more likely to get responses
> on the qgis-developer mailing lists, btw.
>
> Greetings,
>
> Andreas
>
> On 2020-06-24 07:22, Steve Sgalowski wrote:
>
> Is there  widget  on qgis that does http out with api and returns data in
> json or csv format?.
>
> Stephen.
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
---
*Ben Hur S. Pintor*
bnhr.xyz
hi at bnhr.xyz


open spatial & data solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200624/228299de/attachment.html>


More information about the Qgis-user mailing list