BibleBrainSharp by markivan.basto

<PackageReference Include="BibleBrainSharp" Version="0.3.0-beta" />

 ApiEndpoints

public static class ApiEndpoints
namespace BibleBrainSharp { public static class ApiEndpoints { public static string Base => "https://4.dbt.io/api/"; public static string Languages => "languages"; public static string Countries => "countries"; public static string Alphabets => "alphabets"; public static string Numbers => "numbers"; public static string NumbersRange => Numbers + "/range"; public static string Bibles => "bibles"; public static string DefaultBibles => Bibles + "/defaults/types"; public static string MediaTypes => Bibles + "/filesets/media/types"; public static string Timestamps => "timestamps"; public static string Search => "search"; public static string GetLanguage(int languageId) { return $"{Languages}""{languageId}"; } public static string GetCountry(string countryId) { return Countries + "/" + countryId; } public static string GetAlphabet(string alphabetId) { return Alphabets + "/" + alphabetId; } public static string GetNumber(string numeralSystem) { return Numbers + "/" + numeralSystem; } public static string GetBible(string bibleId) { return Bibles + "/" + bibleId; } public static string GetBooks(string bibleId) { return Bibles + "/" + bibleId + "/book"; } public static string GetChapter(string fileSetId, string bookId, int chapter) { return $"{Bibles}""{fileSetId}""{bookId}""{chapter}"; } public static string GetCopyright(string bibleId) { return Bibles + "/" + bibleId + "/copyright"; } public static string GetTimestamps(string fileSetId, string bookId, int chapter) { return $"{Timestamps}""{fileSetId}""{bookId}""{chapter}"; } } }