https://github.com/user-425/indocalendarjson
Complete Indonesian Calendar Json from https://kalenderindonesia.com/. This json calendar include gregorian, hijri, jawa, and details such as shio, zodiac, and more!
https://github.com/user-425/indocalendarjson
calendar gregorian gregorian-calendar hijri hijri-calendar json shio
Last synced: 29 days ago
JSON representation
Complete Indonesian Calendar Json from https://kalenderindonesia.com/. This json calendar include gregorian, hijri, jawa, and details such as shio, zodiac, and more!
- Host: GitHub
- URL: https://github.com/user-425/indocalendarjson
- Owner: User-425
- Created: 2024-02-22T02:48:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T01:57:47.000Z (over 1 year ago)
- Last Synced: 2025-03-01T02:31:22.019Z (over 1 year ago)
- Topics: calendar, gregorian, gregorian-calendar, hijri, hijri-calendar, json, shio
- Homepage:
- Size: 26.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Indonesian Calendar JSON Fetcher
This GitHub Action fetches JSON data from the kalenderindonesia.com API for the Gregorian calendar years from 1910 to 2100. It organizes the fetched data into a folder structure and commits it back to the repository.
### Workflow
The workflow is set to run every month and can also be manually triggered.
### Folder Structure
The fetched JSON data is organized into the following folder structure:
```
json/
│
├── 1910/
│ ├── 0/ # January
│ ├── 1/ # February
│ ├── ...
│ └── 11/ # December
│
├── 1911/
│ ├── 0/ # January
│ ├── 1/ # February
│ ├── ...
│ └── 11/ # December
│
├── ...
│
└── 2100/
├── 0/ # January
├── 1/ # February
├── ...
└── 11/ # December
```
### How to use
You can fetch the JSON by fetching the following url format
JSON per year:
```
https://raw.githubusercontent.com/User-425/IndoCalendarJson/main/json/[year]/data.json
```
Example usage (javascript):
```
fetch('https://raw.githubusercontent.com/User-425/IndoCalendarJson/main/json/2025/data.json')
.then(res => res.json())
.then((out) => {
console.log('Output: ', out);
}).catch(err => console.error(err));
```
JSON per month:
```
https://raw.githubusercontent.com/User-425/IndoCalendarJson/main/json/[year]/[month]/data.json
```
Example usage (javascript):
```
fetch('https://raw.githubusercontent.com/User-425/IndoCalendarJson/main/json/2025/2/data.json')
.then(res => res.json())
.then((out) => {
console.log('Output: ', out);
}).catch(err => console.error(err));
```
note: month index start from 0