diff --git a/pymisp/api.py b/pymisp/api.py index c7c7111..22da009 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1685,6 +1685,11 @@ class PyMISP(object): response = self._prepare_request('GET', url) return self._check_response(response) + def update_taxonomies(self): + url = urljoin(self.root_url, '/taxonomies/update') + response = self._prepare_request('POST', url) + return self._check_response(response) + # ############## WarningLists ################## def get_warninglists(self): @@ -1719,6 +1724,11 @@ class PyMISP(object): response = self._prepare_request('GET', url) return self._check_response(response) + def update_galaxies(self): + url = urljoin(self.root_url, '/galaxies/update') + response = self._prepare_request('POST', url) + return self._check_response(response) + # ############################################## # ############### Non-JSON output ############## # ##############################################