{"id":20533546,"url":"https://github.com/joeychilson/xbrl","last_synced_at":"2026-06-06T00:31:32.980Z","repository":{"id":230551035,"uuid":"779566756","full_name":"joeychilson/xbrl","owner":"joeychilson","description":"A simple XBRL parser in Go.","archived":false,"fork":false,"pushed_at":"2024-11-26T15:40:27.000Z","size":339,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T03:14:17.090Z","etag":null,"topics":["go","parser","xbrl","xml"],"latest_commit_sha":null,"homepage":"","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/joeychilson.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}},"created_at":"2024-03-30T06:58:30.000Z","updated_at":"2024-11-26T15:40:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4b5ae9d-f041-42d1-b419-f9aa6fc863af","html_url":"https://github.com/joeychilson/xbrl","commit_stats":null,"previous_names":["joeychilson/xbrl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joeychilson/xbrl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fxbrl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fxbrl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fxbrl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fxbrl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeychilson","download_url":"https://codeload.github.com/joeychilson/xbrl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeychilson%2Fxbrl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33965591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","parser","xbrl","xml"],"created_at":"2024-11-16T00:22:10.848Z","updated_at":"2026-06-06T00:31:32.964Z","avatar_url":"https://github.com/joeychilson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xbrl\n\nA simple parser for XBRL files.\n\n\n## Usage\n```go\nfunc main() {\n\tfile, err := os.Open(\"msft.xml\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer file.Close()\n\n\tvar xbrl xbrl.XBRL\n\tif err := xml.NewDecoder(file).Decode(\u0026xbrl); err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfmt.Println(\"Facts:\", len(xbrl.Facts))\n}\n```\n\n## Example fact from parsed XBRL\n```json\n{\n  \"context\": {\n    \"entity\": \"0000789019\",\n    \"segments\": [\n      {\n        \"dimension\": \"DerivativeInstrumentRisk\",\n        \"member\": \"InterestRateContract\"\n      },\n      {\n        \"dimension\": \"DerivativeInstrumentsGainLossByHedgingRelationship\",\n        \"member\": \"FairValueHedging\"\n      },\n      {\n        \"dimension\": \"IncomeStatementLocation\",\n        \"member\": \"NonoperatingIncomeExpense\"\n      }\n    ],\n    \"period\": {\n      \"startDate\": \"2023-10-01\",\n      \"endDate\": \"2023-12-31\"\n    }\n  },\n  \"concept\": \"ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1\",\n  \"value\": -34000000,\n  \"decimals\": \"-6\",\n  \"unit\": \"USD\"\n},\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeychilson%2Fxbrl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeychilson%2Fxbrl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeychilson%2Fxbrl/lists"}