AdventoAPI.CPB
1.0.3
See the version list below for details.
dotnet add package AdventoAPI.CPB --version 1.0.3
NuGet\Install-Package AdventoAPI.CPB -Version 1.0.3
<PackageReference Include="AdventoAPI.CPB" Version="1.0.3" />
<PackageVersion Include="AdventoAPI.CPB" Version="1.0.3" />
<PackageReference Include="AdventoAPI.CPB" />
paket add AdventoAPI.CPB --version 1.0.3
#r "nuget: AdventoAPI.CPB, 1.0.3"
#:package AdventoAPI.CPB@1.0.3
#addin nuget:?package=AdventoAPI.CPB&version=1.0.3
#tool nuget:?package=AdventoAPI.CPB&version=1.0.3
AdventoAPI.CPB
AdventoAPI.CPB is a modern, high-performance C# library designed to interface with the Seventh-day Adventist (CPB) digital study materials. It provides structured access to adult Sabbath School lessons and various devotional content (Diario, Jovem, Mulher).
🚀 Features
- Adult Lessons: Access weekly lessons, specific days, memory verses, and auxiliary content.
- Devotionals: Full support for
Diario,Jovem, andMulherdevotional series. - Smart Searching: Powerful keyword search capabilities across weeks, quarters, and date ranges.
- Resilient Design: Built with
HttpClientconnection pooling andAngleSharpfor robust HTML parsing. - Async-First: Fully asynchronous API for responsive integrations.
📦 Installation
Add the package via the NuGet Package Manager:
dotnet add package AdventoAPI.CPB
🛠 Usage
Consuming Adult Sabbath School Lessons
var api = new LicaoAdulto();
var sabado = await api.GetSabado();
Console.WriteLine($"Título: {sabado.Titulo}");
Accessing Devotionals
var diario = new DevocionalDiario();
var semana = await diario.GetDevocionaisAsync();
🏗 Architecture
The library is built on a clean, decoupled architecture:
- API Layer: Services (
LicaoAdulto,DevocionalBase) handle HTTP requests and HTML scraping. - DTO Layer: Immutable
recordtypes provide strongly-typed data schemas. - Options Pattern: Customizable scrapers via
*Optionsclasses.
🤝 Contributing
Contributions are welcome! Please feel free to open an issue or submit a pull request.
👤 Author
MauryDev
Built with ❤️ using .NET 10 & C# 14.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AngleSharp (>= 1.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.