GIScience/ohsome-py

json decode error on wrong api url

SlowMo24 opened this issue · 0 comments

using https://api.ohsome.org/elemets/geometry instead of https://api.ohsome.org/v1/elements/geometry as api url wil cause a json-decode error because the response is an html error message.

can we catch that somehow?