{"id":24317245,"url":"https://github.com/ot-nemoto/public-holiday-api","last_synced_at":"2025-06-15T09:08:13.801Z","repository":{"id":102348656,"uuid":"184788195","full_name":"ot-nemoto/public-holiday-api","owner":"ot-nemoto","description":":frog: 日本の祝日を返すAPI","archived":false,"fork":false,"pushed_at":"2023-04-24T06:52:14.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-10T16:43:39.274Z","etag":null,"topics":["serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ot-nemoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-03T16:34:02.000Z","updated_at":"2022-03-27T01:32:57.000Z","dependencies_parsed_at":"2025-03-10T16:40:08.321Z","dependency_job_id":"cf381a98-d3e2-4271-be78-abc88d423c19","html_url":"https://github.com/ot-nemoto/public-holiday-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ot-nemoto/public-holiday-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ot-nemoto%2Fpublic-holiday-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ot-nemoto%2Fpublic-holiday-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ot-nemoto%2Fpublic-holiday-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ot-nemoto%2Fpublic-holiday-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ot-nemoto","download_url":"https://codeload.github.com/ot-nemoto/public-holiday-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ot-nemoto%2Fpublic-holiday-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259949682,"owners_count":22936411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["serverless"],"created_at":"2025-01-17T13:33:13.664Z","updated_at":"2025-06-15T09:08:13.782Z","avatar_url":"https://github.com/ot-nemoto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# public-holiday-api\n\n## 概要\n\n- 日本の祝日を返すAPI\n- 日本の祝日は内閣府の[国民の祝日について](https://www8.cao.go.jp/chosei/shukujitsu/gaiyou.html)を参照\n  - refs. https://www8.cao.go.jp/chosei/shukujitsu/syukujitsu.csv\n\n## 使い方\n\nバージョン\n\n```sh\nnode -v\n  # v12.14.1\nsls -v\n  # Framework Core: 1.61.2\n  # Plugin: 3.2.7\n  # SDK: 2.2.1\n  # Components Core: 1.1.2\n  # Components CLI: 1.4.0\n```\n\n### deploy\n\n```sh\n(cd layer/nodejs; npm install)\nsls deploy\n```\n\nデプロイパラメータ\n\n|パラメータ|概要|必須(初期値)|\n|--|--|--|\n|--stage|環境|_false_ (dev)|\n|--bucket-expiration-in-days|キャッシュの有効期間(day)|_false_ (1)|\n\n### API\n\n- holiday\n  - リクエストした日の祝日(`publicHoliday`)を返す\n  - _response_\n    ```json\n    {\n      \"statusCode\":200,\n      \"date\":\"2019-05-05\",\n      \"publicHoliday\":\"こどもの日\"\n    }\n    ```\n\n    ```json\n    {\n      \"statusCode\":200,\n      \"date\":\"2019-05-20\",\n      \"publicHoliday\":\"\"\n    }\n    ```\n\n- holiday/{date}\n  - {date}で指定した日の祝日(`publicHoliday`)を返す\n  - _response_\n    holiday に同じ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fot-nemoto%2Fpublic-holiday-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fot-nemoto%2Fpublic-holiday-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fot-nemoto%2Fpublic-holiday-api/lists"}