Exemple #1
0
        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));
        }
Exemple #2
0
        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));
        }
Exemple #3
0
        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));
        }