Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }