Official SDKs for the Festivo Public Holidays API - Access holiday data for 250+ countries with accurate UTC dates, regional variations, and city-level holidays.
| Language | Package | Version | Documentation |
|---|---|---|---|
| JavaScript/TypeScript | @festivo-io/festivo-sdk | README | |
| Python | festivo-python | README | |
| PHP | festivo-io/festivo-php | README | |
| Go | festivo-sdk-go | README | |
| Ruby | festivo | README | |
| Java | io.github.festivo-io:festivo-sdk | README |
- 🌍 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
npm install @festivo-io/festivo-sdkimport { FestivoClient } from '@festivo-io/festivo-sdk';
const client = new FestivoClient({ apiKey: 'YOUR_API_KEY' });
const { holidays } = await client.getHolidays('US', 2026);pip install festivo-pythonfrom festivo import FestivoClient
client = FestivoClient(api_key='YOUR_API_KEY')
result = client.get_holidays('US', 2026)composer require festivo-io/festivo-phpuse Festivo\FestivoClient;
$client = new FestivoClient('YOUR_API_KEY');
$result = $client->getHolidays('US', 2026);go get github.com/festivo-io/festivo-sdk-goimport "github.com/festivo-io/festivo-sdk-go/festivo"
client := festivo.NewClient("YOUR_API_KEY")
result, _ := client.GetHolidays("US", 2026, nil)gem install festivorequire 'festivo'
client = Festivo::Client.new('YOUR_API_KEY')
result = client.get_holidays(country: 'US', year: 2026)Maven:
<dependency>
<groupId>io.github.festivo-io</groupId>
<artifactId>festivo-sdk</artifactId>
<version>0.2.1</version>
</dependency>Gradle:
implementation 'io.github.festivo-io:festivo-sdk:0.2.1'import io.festivo.FestivoClient;
FestivoClient client = new FestivoClient("YOUR_API_KEY");
FestivoClient.HolidaysResponse holidays = client.getHolidays("US", 2026, null);Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE for details.