From 29dd1304f60ab3967631b37de69e3a6ff41aaa03 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Wed, 19 Jun 2024 12:27:16 +1200 Subject: [PATCH] esvapi: add empty lines between methods --- esvapi.d | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/esvapi.d b/esvapi.d index a7a021e..3dc4f93 100644 --- a/esvapi.d +++ b/esvapi.d @@ -218,18 +218,21 @@ class ESVApi final @property string key() const nothrow pure @nogc => _key; + /++ + Returns the subdirectory used to store temporary audio passages. +/ final @property string tmpDir() const nothrow pure @nogc => _tmp; + /++ + Returns the API URL currently in use. +/ final @property string url() const nothrow pure @nogc => _url; + /++ + Sets the API URL currently in use to the given url argument. +/ @@ -291,6 +294,7 @@ class ESVApi return response.parseJSON()["passages"][0].str; } + /++ + Requests an audio track of the verse(s) from the API and + returns a file path containing an MP3 sound track. @@ -313,6 +317,7 @@ class ESVApi return _tmp; } + /++ + Requests a passage search for the given query. + Returns a string containing JSON data representing @@ -325,6 +330,7 @@ class ESVApi { return makeRequest("search/?q=" ~ query.tr(" ", "+")); } + /++ + Calls search() and formats the results nicely as plain text. +/