Skip to content

Commit

Permalink
Add Limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Jun 17, 2023
1 parent 9d08b7c commit 4d29fd9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,21 @@ func main() {
}
```

## CLI
## Limitation

### Installation
Google Calendar events are limited in duration. For example, as of today (Jun 17th, 2023) you cannot get public holidays prior to 2022.

Check below command for details:

```sh
curl -s -H "X-goog-api-key: $GOOGLE_API_KEY" \
'https://www.googleapis.com/calendar/v3/calendars/ja.japanese%23holiday%40group.v.calendar.google.com/events?showDeleted=false&singleEvents=true&orderBy=startTime&timeMin=2019-01-01T00:00:00Z&maxResults=100' \
| jq -c '.items[] | {summary, start}'
```

# CLI

## Installation

```
brew install winebarrel/jhol/jhol
Expand Down

0 comments on commit 4d29fd9

Please sign in to comment.