esvapi: add empty lines between methods

This commit is contained in:
Jeremy Baxter 2024-06-19 12:27:16 +12:00
parent 3391c982b4
commit 29dd1304f6

View file

@ -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.
+/