Project

festivo

0.0
No release in over 3 years
Official Ruby SDK for Festivo Public Holidays API. Access city-level, regional, and global holiday data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
 Project Readme

Festivo SDKs

License GitHub release

Official SDKs for the Festivo Public Holidays API - Access holiday data for 250+ countries with accurate UTC dates, regional variations, and city-level holidays.

Available SDKs

Language Package Version Documentation
JavaScript/TypeScript @festivo-io/festivo-sdk npm README
Python festivo-python PyPI README
PHP festivo-io/festivo-php Packagist README
Go festivo-sdk-go Go README
Ruby festivo Gem README
Java io.festivo:festivo-sdk Maven Central README

Features

  • ๐ŸŒ 250+ Countries - Comprehensive holiday coverage worldwide
  • ๐Ÿ“… UTC Dates - Accurate timezone handling for global holidays
  • ๐Ÿ™๏ธ City & Regional - Support for local holidays (Pro/Builder plans)
  • โœ… Type Safe - Full type definitions in all supported languages
  • โšก Modern - Built with current best practices for each language
  • ๐Ÿงช Well Tested - Comprehensive test suites included

Quick Start

JavaScript/TypeScript

npm install @festivo-io/festivo-sdk
import { FestivoClient } from '@festivo-io/festivo-sdk';
const client = new FestivoClient({ apiKey: 'YOUR_API_KEY' });
const { holidays } = await client.getHolidays('US', 2026);

Python

pip install festivo-python
from festivo import FestivoClient
client = FestivoClient(api_key='YOUR_API_KEY')
result = client.get_holidays('US', 2026)

PHP

composer require festivo-io/festivo-php
use Festivo\FestivoClient;
$client = new FestivoClient('YOUR_API_KEY');
$result = $client->getHolidays('US', 2026);

Go

go get github.com/festivo-io/festivo-sdk-go
import "github.com/festivo-io/festivo-sdk-go/festivo"
client := festivo.NewClient("YOUR_API_KEY")
result, _ := client.GetHolidays("US", 2026, nil)

Ruby

gem install festivo
require 'festivo'
client = Festivo::Client.new('YOUR_API_KEY')
result = client.get_holidays(country: 'US', year: 2026)

Java

Maven:

<dependency>
  <groupId>io.festivo</groupId>
  <artifactId>festivo-sdk</artifactId>
  <version>0.2.0</version>
</dependency>

Gradle:

implementation 'io.festivo:festivo-sdk:0.2.0'
import com.festivo.FestivoClient;
FestivoClient client = new FestivoClient("YOUR_API_KEY");
FestivoClient.HolidaysResponse holidays = client.getHolidays("US", 2026, null);

Documentation

Support

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE for details.