{"id":17560039,"url":"https://github.com/knsh14/ical","last_synced_at":"2025-03-29T10:23:49.834Z","repository":{"id":57538319,"uuid":"287042941","full_name":"knsh14/ical","owner":"knsh14","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-24T18:56:20.000Z","size":209,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T04:30:12.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/knsh14.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}},"created_at":"2020-08-12T14:59:26.000Z","updated_at":"2021-07-27T23:15:12.000Z","dependencies_parsed_at":"2022-09-07T16:50:44.447Z","dependency_job_id":null,"html_url":"https://github.com/knsh14/ical","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knsh14%2Fical","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knsh14%2Fical/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knsh14%2Fical/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knsh14%2Fical/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knsh14","download_url":"https://codeload.github.com/knsh14/ical/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246169431,"owners_count":20734659,"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":[],"created_at":"2024-10-21T11:09:29.692Z","updated_at":"2025-03-29T10:23:49.777Z","avatar_url":"https://github.com/knsh14.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"ical\n---\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/knsh14/ical)](https://pkg.go.dev/github.com/knsh14/ical)\n\nparse iCal file based on [RFC 5545]( https://tools.ietf.org/html/rfc5545 )\n\n# Example\nhttps://play.golang.org/p/SDQl0Cwc67J\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"net/http\"\n\n\t\"github.com/knsh14/ical\"\n\t\"github.com/knsh14/ical/parser\"\n)\n\nfunc main() {\n\tres, err := http.Get(\"https://www.google.com/calendar/ical/japanese__ja%40holiday.calendar.google.com/public/basic.ics\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tcal, err := parser.Parse(res.Body)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfor _, c := range cal.Components {\n\t\tif e, ok := c.(*ical.Event); ok {\n\t\t\tfmt.Println(e.Summary.Value)\n\t\t}\n\t}\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknsh14%2Fical","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknsh14%2Fical","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknsh14%2Fical/lists"}