Skip to content

estelsnt/philippine-holidays-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Philippine Holidays JSON

This repository contains a simple JSON list of official Philippine holidays.

You can access the raw JSON file directly via:

https://raw.githubusercontent.com/estelsnt/philippine-holidays-json/main/holidays.json

How to Fetch in Browser

Here's a basic example of how to fetch and use the data in plain JavaScript (browser):

<script>
  fetch('https://raw.githubusercontent.com/estelsnt/philippine-holidays-json/main/holidays.json')
    .then(response => {
      if (!response.ok) {
        throw new Error(`HTTP error! status: ${response.status}`);
      }
      return response.json();
    })
    .then(data => {
      console.log('๐Ÿ“… Philippine Holidays:', data);
    })
    .catch(error => {
      console.error('Error fetching holiday data:', error);
    });
</script>

About

basic json file for current philippine holidays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published