{"id":13414059,"url":"https://github.com/andybons/hipchat","last_synced_at":"2025-07-01T08:06:45.661Z","repository":{"id":5145148,"uuid":"6312328","full_name":"andybons/hipchat","owner":"andybons","description":"This project implements a Go client library for the Hipchat API.","archived":false,"fork":false,"pushed_at":"2016-03-24T19:12:10.000Z","size":58,"stargazers_count":104,"open_issues_count":0,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-01T08:06:44.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"opencivicdata/docs.opencivicdata.org","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andybons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-20T18:34:06.000Z","updated_at":"2025-01-19T11:27:45.000Z","dependencies_parsed_at":"2022-07-05T17:03:47.285Z","dependency_job_id":null,"html_url":"https://github.com/andybons/hipchat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andybons/hipchat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fhipchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fhipchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fhipchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fhipchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andybons","download_url":"https://codeload.github.com/andybons/hipchat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andybons%2Fhipchat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262924944,"owners_count":23385457,"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-07-30T20:01:56.555Z","updated_at":"2025-07-01T08:06:45.633Z","avatar_url":"https://github.com/andybons.png","language":"Go","readme":"Hipchat\n=====\nThis project implements a [Go](http://golang.org) client library for the [Hipchat API](https://www.hipchat.com/docs/api/) (*API version 2 is not supported*).\n\nPull requests are welcome as the API is limited to only a few calls right now.\n\nAPI documentation can be found on [godoc.org](http://godoc.org/github.com/andybons/hipchat).\n\nStar this or get at me on the Twitters if you end up using this since this is pretty early stage and \u003cb\u003eI may make breaking changes to the API.\u003c/b\u003e – [@andybons](https://www.twitter.com/andybons)\n\nInstalling\n----------\nRun\n```bash\ngo get github.com/andybons/hipchat\n```\n\nExample usage:\n```go\npackage main\n\nimport (\n\t\"github.com/andybons/hipchat\"\n\t\"log\"\n)\n\nfunc main() {\n\tc := hipchat.NewClient(\"\u003cPUT YOUR AUTH TOKEN HERE\u003e\")\n\treq := hipchat.MessageRequest{\n\t\tRoomId:        \"Rat Man's Den\",\n\t\tFrom:          \"GLaDOS\",\n\t\tMessage:       \"Bad news: Combustible lemons failed.\",\n\t\tColor:         hipchat.ColorPurple,\n\t\tMessageFormat: hipchat.FormatText,\n\t\tNotify:        true,\n\t}\n\n\tif err := c.PostMessage(req); err != nil {\n\t\tlog.Printf(\"Expected no error, but got %q\", err)\n\t}\n}\n```\n\nSetting a custom HipChat Server:\n```go\nc := hipchat.NewClient(\"\u003cAUTH TOKEN\u003e\")\nc.BaseURL = \"https://your.host.name/v1\"\n...\n```\n\nUse customized proxy settings In case you need to use transport other than `http.DefaultTransport`:\n```go\nc := hipchat.NewClient(\"\u003cAUTH TOKEN\u003e\")\n\nproxyURL, err := url.Parse(\"\u003cPROXY_URL:PROXY_PORT\u003e\")\nif err != nil {\n\tlog.Fatalf(\"Expected no error, but got %q\", err)\n}\nc.Transport = \u0026http.Transport{Proxy: http.ProxyURL(proxyURL)}\n```\n\nContributors\n------------\n+ Akshay Shah ([@akshayjshah](https://github.com/akshayjshah))\n+ Michael Biven ([@michaelbiven](https://github.com/michaelbiven))\n+ Tarrant Rollins ([@tarrant](https://github.com/tarrant))\n+ Edward Muller ([@freeformz](https://github.com/freeformz))\n+ Matt Blair ([@mblair](https://github.com/mblair))\n+ Gordon Goetz ([@gtosh4](https://github.com/gtosh4))\n+ Paras Patel  ([@patelparas](https://github.com/PatelParas))\n","funding_links":[],"categories":["Third-party APIs","Utility","第三方api","第三方API","第三方 APIs","\u003cspan id=\"第三方api-third-party-apis\"\u003e第三方API Third-party APIs\u003c/span\u003e","第三方API`第三方API 汇总`"],"sub_categories":["Utility/Miscellaneous","HTTP Clients","实用程序/Miscellaneous","Advanced Console UIs","Fail injection","查询语","交流","Middlewares","高級控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","高级控制台界面"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandybons%2Fhipchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandybons%2Fhipchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandybons%2Fhipchat/lists"}