日時
//json
//今日の日付データを変数hidukeに格納
var hiduke=new Date();
//年・月・日・曜日を取得する
var year = hiduke.getFullYear();
var month = hiduke.getMonth()+1;
var week = hiduke.getDay();
var day = hiduke.getDate();
var yobi= new Array("日","月","火","水","木","金","土");
// yobi[week]+"曜日";
//日本の国民の祝日の一覧を、JSON形式もしくはCSV形式で返すAPIです。
データは Google が用意している Googleカレンダーの情報から自動で生成しています。
去年・今年・来年のデータが取得可能です。
//祝日一覧API (date)
https://holidays-jp.github.io/api/v1/date.json
//祝日一覧API (datetime)
https://holidays-jp.github.io/api/v1/datetime.json
//年別API (date)
https://holidays-jp.github.io/api/v1/2017/date.json
//年別API (datetime)
https://holidays-jp.github.io/api/v1/2017/datetime.json