@@ -990,6 +990,16 @@
return $this->api(($this->domainAdmin ? '/admin' : '') . '/domains/' . $domain . '/hooks/' . $hookid, 'DELETE');
}
+ /**
+ * Get articles.
+ *
+ * @return Result from the API.
+ */
+ public function getArticles() {
+ $result = $this->api('/articles');
+ return isset($result['response']) ? $result['response'] : [];
+ }
+
/**
* Get the last response from the API
*