zMoooooritz / stapy

An easy to use SensorThings API Client written in Python
MIT License
6 stars 2 forks source link

Basic auth example #20

Closed BWibo closed 2 years ago

BWibo commented 2 years ago

Does stapy support using a SensorThingsAPI protected by BasicAuth? Can you give an example on how to use it? As requests library is use in the back, this should be possible.

zMoooooritz commented 2 years ago

Currently BasicAuth is not supported by stapy. But it should be pretty easy to add that functionality (analog to the way the STA_URL is handled).

zMoooooritz commented 2 years ago

The requested BasicAuth has been implemented in #22 and is available with the newly released version 0.2.6