public static FormatVerseRequest ( string verse, Translation translation ) : |
||
verse | string | |
translation | Translation | |
return |
public static async Task <string> GetVerseTextWithoutHtmlOrDigitsAsync(string verse, Translation translation) { var request = BiblesDotOrgRequest.FormatVerseRequest(verse, translation); var response = await BiblesDotOrgResponse.RequestVerseAsync(request); return(Convert.ToVerseTextWithoutHtmlOrDigits(response)); }
public static async Task <string> GetCopyrightForTranslationAsync(Translation translation) { var request = BiblesDotOrgRequest.FormatVerseRequest("Genesis 1:1", translation); var response = await BiblesDotOrgResponse.RequestVerseAsync(request); return(Convert.ToCopyrightText(response)); }
public static async Task <VerseResponse> GetVerseAsync(string verse, Translation translation) { var request = BiblesDotOrgRequest.FormatVerseRequest(verse, translation); var response = await BiblesDotOrgResponse.RequestVerseAsync(request); return(Convert.ToVerse(verse, response)); }