AdventoAPI.CPB 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package AdventoAPI.CPB --version 1.0.4
                    
NuGet\Install-Package AdventoAPI.CPB -Version 1.0.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AdventoAPI.CPB" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AdventoAPI.CPB" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="AdventoAPI.CPB" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AdventoAPI.CPB --version 1.0.4
                    
#r "nuget: AdventoAPI.CPB, 1.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AdventoAPI.CPB@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AdventoAPI.CPB&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=AdventoAPI.CPB&version=1.0.4
                    
Install as a Cake Tool

AdventoAPI.CPB

NuGet License

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, and Mulher devotional series.
  • Smart Searching: Powerful keyword search capabilities across weeks, quarters, and date ranges.
  • Resilient Design: Built with HttpClient connection pooling and AngleSharp for 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 record types provide strongly-typed data schemas.
  • Options Pattern: Customizable scrapers via *Options classes.

🤝 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 93 5/24/2026
1.0.4 98 5/22/2026
1.0.3 93 5/21/2026
1.0.2 92 5/21/2026
1.0.1 88 5/20/2026
1.0.0 98 5/19/2026