import "github.com/joshtronic/go-holidayapi"
hapi := holidayapi.NewV1("__YOUR_API_KEY__")
holidays, err := hapi.Holidays(map[string]interface{}{
"country": "BR",
"year": "2023",
})
import { HolidayAPI } from 'holidayapi';
const key = '__YOUR_API_KEY__'
const holidayApi = new HolidayAPI({ key });
holidayApi.holidays({
country: 'BR',
year: '2023',
});
$key = '__YOUR_API_KEY__';
$holiday_api = new \HolidayAPI\Client(['key' => $key]);
$holidays = $holiday_api->holidays([
'country' => 'BR',
'year' => '2023',
]);
$Body = @{}
$Body.key = "__YOUR_API_KEY__"
$Body.country = "BR"
$Body.year = "2023"
$Result = Invoke-RestMethod -Uri $Url -Body $Body
$Result.holidays
import holidayapi
key = '__YOUR_API_KEY__'
hapi = holidayapi.v1(key)
holidays = hapi.holidays({
'country': 'BR',
'year': '2023',
})
require 'ruby-holidayapi'
key = '__YOUR_API_KEY__'
hapi = HolidayAPI::V1.new(key)
holidays = hapi.holidays({
'country': 'BR',
'year': '2023',
})