{"id":15636356,"url":"https://github.com/westy92/holiday-event-api-csharp","last_synced_at":"2026-02-18T13:34:55.919Z","repository":{"id":137620524,"uuid":"580999850","full_name":"westy92/holiday-event-api-csharp","owner":"westy92","description":"The Official Holiday and Event API for .NET","archived":false,"fork":false,"pushed_at":"2025-03-18T06:41:32.000Z","size":118,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T04:51:43.669Z","etag":null,"topics":["api","calendar","celebration","checkiday","date","day","dotnet","dotnet-framework","dotnet-standard","event","holiday","holiday-api","holidays","holidays-api","list","month","official","public","unofficial","year"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/HolidayEventApi","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/westy92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-12-22T02:13:09.000Z","updated_at":"2025-02-20T07:10:19.000Z","dependencies_parsed_at":"2023-12-19T02:20:17.741Z","dependency_job_id":"7eaccd1f-117f-49e5-9c00-ca4c5ca9df88","html_url":"https://github.com/westy92/holiday-event-api-csharp","commit_stats":{"total_commits":76,"total_committers":3,"mean_commits":"25.333333333333332","dds":0.3421052631578947,"last_synced_commit":"3182e215fd1870addc715b0fed87c50985aed43e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/westy92/holiday-event-api-csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westy92%2Fholiday-event-api-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westy92%2Fholiday-event-api-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westy92%2Fholiday-event-api-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westy92%2Fholiday-event-api-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/westy92","download_url":"https://codeload.github.com/westy92/holiday-event-api-csharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westy92%2Fholiday-event-api-csharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29580809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","calendar","celebration","checkiday","date","day","dotnet","dotnet-framework","dotnet-standard","event","holiday","holiday-api","holidays","holidays-api","list","month","official","public","unofficial","year"],"created_at":"2024-10-03T11:02:36.409Z","updated_at":"2026-02-18T13:34:50.908Z","avatar_url":"https://github.com/westy92.png","language":"C#","funding_links":["https://github.com/sponsors/westy92"],"categories":[],"sub_categories":[],"readme":"# The Official Holiday and Event API for .NET\n\n[![Nuget](https://img.shields.io/nuget/v/HolidayEventApi)](https://www.nuget.org/packages/HolidayEventApi)\n[![Build Status](https://github.com/westy92/holiday-event-api-csharp/actions/workflows/github-actions.yml/badge.svg)](https://github.com/westy92/holiday-event-api-csharp/actions)\n[![Code Coverage](https://codecov.io/gh/westy92/holiday-event-api-csharp/branch/main/graph/badge.svg)](https://codecov.io/gh/westy92/holiday-event-api-csharp)\n[![Funding Status](https://img.shields.io/github/sponsors/westy92)](https://github.com/sponsors/westy92)\n\nIndustry-leading Holiday and Event API for .NET. Over 5,000 holidays and thousands of descriptions. Trusted by the World’s leading companies. Built by developers for developers since 2011.\n\n## Supported .NET Versions\n\nLatest version of the the Holiday and Event API supports all actively-supported [.NET](https://endoflife.date/dotnet) and [.NET Framework](https://endoflife.date/dotnetfx) versions.\n\n## Authentication\n\nAccess to the Holiday and Event API requires an API Key. You can get for one for FREE [here](https://apilayer.com/marketplace/checkiday-api#pricing), no credit card required! Note that free plans are limited. To access more data and have more requests, a paid plan is required.\n\n## Installation\n\n```console\ndotnet add package HolidayEventApi\n```\n\n## Example\n\n```cs\nusing System;\nusing System.Threading.Tasks;\n\nnamespace HolidayEventApi.Example\n{\n    class Program\n    {\n        static async Task Main(string[] args)\n        {\n            try {\n                // Get a FREE API key from https://apilayer.com/marketplace/checkiday-api#pricing\n                var client = new HolidayEventApi.Client(\"\u003cYour API Key Here\u003e\");\n\n                // Get Events for a given Date\n                var events = await client.GetEvents(\n                    // These parameters are the defaults but can be specified:\n                    // date: \"today\",\n                    // adult: false,\n                    // timezone: \"America/Chicago\"\n                );\n\n                var e = events.Events[0];\n                Console.WriteLine(\"Today is {0}! Find more information at: {1}\", e.Name, e.Url);\n                Console.WriteLine(\"Rate limit remaining: {0}/{1} (month).\", events.RateLimit.RemainingMonth, events.RateLimit.LimitMonth);\n\n                // Get Event Information\n                var eventInfo = await client.GetEventInfo(\n                    id: e.Id\n                    // These parameters can be specified to calculate the range of eventInfo.Event.Occurrences\n                    // start: 2020,\n                    // end: 2030\n                );\n\n                Console.WriteLine(\"The Event's hashtags are {0}.\", string.Join(\", \", eventInfo.Event.Hashtags));\n\n                // Search for Events\n                var query = \"pizza day\";\n                var search = await client.Search(\n                    query: query\n                    // These parameters are the defaults but can be specified:\n                    // adult: false\n                );\n\n                Console.WriteLine(\"Found {0} events, including '{1}', that match the query '{2}'.\", search.Events.Count, search.Events[0].Name, query);\n            } catch (Exception e) {\n                Console.WriteLine(e);\n            }\n        }\n    }\n}\n```\n\n## Publishing Updates\n\n1. Run `nuget pack`.\n1. Upload generated files to \u003chttps://www.nuget.org/packages/manage/upload\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesty92%2Fholiday-event-api-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesty92%2Fholiday-event-api-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesty92%2Fholiday-event-api-csharp/lists"}