holiday-planner-go
![Coverage](https://img.shields.io/sonar/coverage/jvmistica_holiday-planner-go/main?server=https%3A%2F%2Fsonarcloud.io)
A tool that fetches holidays from Google Calendar and adds them together with weekends to provide vacation leave suggestions.
Requirements
Google API key
To get a Google API key:
- Go to https://console.cloud.google.com
- Navigate to "APIs & Services" -> "Credentials"
- Click "Create Credentials" -> "API key"
Trello API key and token
To get Trello API key and token:
- Go to https://trello.com/power-ups/admin
- Select an existing power-up and integration or create a new one
- Select "API key" -> "Generate a new API key"
- Follow the link to generate a token
Environment Variables
export GCP_API_KEY=<gcp-api-key>
export TRELLO_API_KEY=<trello-api-key>
export TRELLO_API_TOKEN=<trello-api-token>
Usage
go run main.go -start=2023-06-01 -end=2024-01-31
Trello
![Screenshot 2023-06-13 at 12 43 22](https://github.com/jvmistica/holiday-planner-go/assets/53989745/05200227-15be-4249-9b82-b85c48e1f6d1)