Holiday dates, Easter calculation, and 200+ country calendars — API client for holidayfyi.com.
Try the interactive tools at holidayfyi.com
gem install holidayfyi
require "holidayfyi"
client = HolidayFYI::Client.new
result = client.search("christmas")
puts "#{result[:total]} results"| Platform | Package | Link |
|---|---|---|
| Python | pip install holidayfyi |
PyPI |
| npm | npm install holidayfyi |
npm |
| Go | go get github.com/fyipedia/holidayfyi-go |
pkg.go.dev |
| Rust | cargo add holidayfyi |
crates.io |
| Ruby | gem install holidayfyi |
rubygems |
Embed HolidayFYI widgets on any website with holidayfyi-embed:
<script src="https://cdn.jsdelivr.net/npm/holidayfyi-embed@1/dist/embed.min.js"></script>
<div data-holidayfyi="entity" data-slug="christmas"></div>Zero dependencies · Shadow DOM · 4 themes (light/dark/sepia/auto) · Widget docs
- HolidayFYI — Main site
- API Documentation
- OpenAPI Spec
- Glossary
MIT