Skip to content

icholy/holidayapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)
}

Releases

No releases published

Packages

 
 
 

Languages