diff options
Diffstat (limited to 'src/zotapi.rs')
-rw-r--r-- | src/zotapi.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zotapi.rs b/src/zotapi.rs index 0a5c317..a15b51a 100644 --- a/src/zotapi.rs +++ b/src/zotapi.rs @@ -93,6 +93,10 @@ impl ZotApi { Ok(self.get("channel/export/basic").send().await?.text().await?) } + pub async fn abook_list(&self) -> Result<String, Error> { + Ok(self.get("abook").send().await?.text().await?) + } + /// Return a RequestBuilder object that's set up with the correct |