*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects

Update TISS API from v2.2 to v2.3

Merged Moser, Maximilian requested to merge mm/tiss-api into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -17,7 +17,7 @@ from .models import Employee, OrgUnit
def _get_org_unit_dict(code: str) -> dict:
"""Fetch the data about the org unit from TISS."""
response = requests.get(
f"https://tiss.tuwien.ac.at/api/orgunit/v22/code/{code}?persons=true"
f"https://tiss.tuwien.ac.at/api/orgunit/v23/code/{code}?persons=true"
)
# NOTE: some org units don't seem to have an OID
# (e.g. "E366t1 - Institutsbibliothek"),
Loading