Skip to content
Go package for accessing https://holidayapi.com/
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/holidayapi
README.md
client.go
models.go

README.md

Go package for accessing https://holidayapi.com/

client := holidayapi.New("my-key")
holidays, err := client.Holidays(holidayapi.Params{
	Country: "US",
	Year:    2018,
	Public:  true,
})
if err != nil {
	log.Fatal(err)
}
for _, h := range holidays {
	fmt.Println(h)
}
You can’t perform that action at this time.