Insitu.get_target_info()
# Import package
from dahitiapi.InSitu import InSitu
# Initialize InSitu Class
insitu = InSitu()
# Select InSitu target by InSitu id
insitu_id = 10146
# Get information of InSitu target
response = insitu.get_target_info(insitu_id)
Output of JSON response:
{
'application': 'Inland',
'applied_offset': '1980-01-01-2030-01-01:425.9',
'cid': 6,
'comment': 'Gauge Zero (425.9m) added',
'continent': 'Europe',
'copyright': None,
'country': 'Germany',
'data_sampling': 'daily',
'dataset_id': None,
'id': 30898,
'invalid_data': None,
'last_update': '2026-06-07 05:10:20',
'latitude': 47.912,
'longitude': 12.9104,
'max_date': '2026-06-05',
'max_value': 427.71,
'min_date': '2015-12-22',
'min_value': 426.03,
'num_points': 3819,
'owner_id': 110,
'source': 'Gewässerkundlicher Dienst Bayern',
'source_short': 'GKD',
'source_url': 'https://www.gkd.bayern.de/de/seen/wasserstand/inn/seethal-18673955',
'station_id': '18673955',
'station_name': 'Seethal',
'target_name': 'Abtsdorfer See',
'type': 'water_level',
'unit': 'm',
'vertical_datum': 'NN (DHHN12)'
}