Finturest.Holiday 1.0.0

dotnet add package Finturest.Holiday --version 1.0.0
                    
NuGet\Install-Package Finturest.Holiday -Version 1.0.0
                    
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="Finturest.Holiday" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Finturest.Holiday" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Finturest.Holiday" />
                    
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 Finturest.Holiday --version 1.0.0
                    
#r "nuget: Finturest.Holiday, 1.0.0"
                    
#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.
#addin nuget:?package=Finturest.Holiday&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Finturest.Holiday&version=1.0.0
                    
Install as a Cake Tool

Finturest Holiday API C# SDK

Official C# SDK for the Finturest Holiday API - supports .NET Standard 2.0+ and all modern .NET versions.

Overview

This SDK provides a convenient and efficient way to access the Finturest Holiday API in your .NET applications. It supports .NET Standard 2.0 and later, ensuring compatibility with .NET Core and the latest .NET releases.

Features

  • Worldwide Holiday Coverage: Access public, national, bank, and regional holidays across 250+ countries and territories.

  • Multi-Year Range: Query holidays for any year or range of years — past, current, or future.

  • Region & Subdivision Support: Retrieve holidays based on country, region, state, or province with ISO-compliant codes.

  • Date-Based Lookups: Check if a specific date is a holiday, weekend, or working day in a given location.

  • Flexible Filters: Filter holidays by type (public, religious, observance), and country.

  • Official Sources: Data is aggregated from government declarations and official sources for accuracy and reliability.

Installation

Using the .NET Core command-line interface (CLI) tools:

dotnet add package Finturest.Holiday

Using the NuGet Command Line Interface (CLI):

nuget install Finturest.Holiday

Using the Package Manager Console:

Install-Package Finturest.Holiday

From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "Finturest.Holiday".
  5. Click on the Finturest.Holiday package, select the appropriate version in the right-tab and click Install.

Usage

Registering

To use the Finturest.Holiday client, register it in your application's dependency injection container using AddFinturestHoliday. This configures the services required to communicate with the Finturest Holiday API.

var services = new ServiceCollection();

services.AddFinturestHoliday(options =>
{
    options.ApiKey = "YOUR_API_KEY";
});

Note
IHolidayServiceClient is registered in the DI container and should be resolved via dependency injection.
In ASP.NET Core applications, it's recommended to inject it through constructor injection.

Note
The abstractions for the Finturest Holiday API client are provided in a separate package named Finturest.Holiday.Abstractions.
You can reference this package in your business layer to avoid a tight dependency on the implementation.
Only the root application or composition root should reference the full Finturest.Holiday package that contains the implementation.

Get upcoming holidays

To get upcoming holidays using the Finturest Holiday API, call the GetUpcomingHolidaysAsync method on the IHolidayServiceClient.

var serviceProvider = services.BuildServiceProvider();

var holidayServiceClient = serviceProvider.GetRequiredService<IHolidayServiceClient>();

var result = await holidayServiceClient.GetUpcomingHolidaysAsync(countryCode: "PL", days: 365, type: HolidayType.Public);

Console.WriteLine($"Holidays: {result.Count}.");

Note
In production applications, avoid using BuildServiceProvider() manually.
Instead, use constructor injection to get IHolidayServiceClient from the framework’s dependency injection system.

Subscription & Pricing

To get access to the Finturest Holiday API or subscribe to a plan, please visit the subscription page. An active subscription is required to access the API in production.

Manage subscriptions

API Key Generation

An API key is required to use the SDK and can be generated on your Finturest dashboard:

Generate API key

Documentation

For full API reference and usage guides, please visit the official Finturest Holiday API documentation:

View API reference

Contact

For support, questions, or inquiries, please contact us at: support@finturest.com

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.0 138 5/18/2025