diff --git a/jellyfin_apiclient_python/api.py b/jellyfin_apiclient_python/api.py index 4690fca..5732647 100644 --- a/jellyfin_apiclient_python/api.py +++ b/jellyfin_apiclient_python/api.py @@ -193,6 +193,15 @@ def get_user_settings(self, client="emby"): "client": client }) + def new_user(self, name, pw): + return self._post("Users/New", { + "name": name, + "Password": pw + }) + + def delete_user(self, userID): + return self._delete(f"Users/{userID}") + def get_views(self): return self.users("/Views")