{"id":13507553,"url":"https://github.com/ymtszw/hipchat_elixir","last_synced_at":"2025-03-30T09:32:57.117Z","repository":{"id":57504986,"uuid":"76884434","full_name":"ymtszw/hipchat_elixir","owner":"ymtszw","description":"[DISCONTINUED] HipChat client library for Elixir","archived":true,"fork":false,"pushed_at":"2019-05-07T03:25:20.000Z","size":78,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T22:39:27.696Z","etag":null,"topics":["elixir","hipchat","hipchat-elixir","hipchat-swagger"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/ymtszw.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-12-19T17:54:18.000Z","updated_at":"2023-01-28T18:24:13.000Z","dependencies_parsed_at":"2022-09-13T03:11:51.786Z","dependency_job_id":null,"html_url":"https://github.com/ymtszw/hipchat_elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtszw%2Fhipchat_elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtszw%2Fhipchat_elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtszw%2Fhipchat_elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtszw%2Fhipchat_elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymtszw","download_url":"https://codeload.github.com/ymtszw/hipchat_elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"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":["elixir","hipchat","hipchat-elixir","hipchat-swagger"],"created_at":"2024-08-01T02:00:36.058Z","updated_at":"2025-03-30T09:32:56.746Z","avatar_url":"https://github.com/ymtszw.png","language":"Elixir","funding_links":[],"categories":["Chatting"],"sub_categories":[],"readme":"# :warning: DISCONTINUATION NOTICE\n\n[HipChat itself is discontinued by Atlassian due to their partnership with Slack](https://www.atlassian.com/partnerships/slack).\n\nThis Elixir library is therefore no longer maintained, and goes archive. Thanks for your interest though! :heart:\n\n# hipchat_elixir\n\n[![Hex.pm](https://img.shields.io/hexpm/v/hipchat_elixir.svg)](https://hex.pm/packages/hipchat_elixir)\n[![CircleCI](https://circleci.com/gh/ymtszw/hipchat_elixir/tree/master.svg?style=svg)](https://circleci.com/gh/ymtszw/hipchat_elixir/tree/master)\n\nHipChat client library for [Elixir](http://elixir-lang.org).\n\n- [API Documentation](https://hexdocs.pm/hipchat_elixir)\n\n## Policy\n\n- Using Erlang's built-in `httpc` as HTTP client, for easier dependency management.\n- No state. Access tokens and other credentials should be retrieved/stored by caller applications.\n- Relying on HipChat cloud for parameter validations.\n- Covering APIs used in server side only.\n- Generating codes from Swagger (OpenAPI) specifications in [ymtszw/hipchat_swagger](https://github.com/ymtszw/hipchat_swagger).\n    - Read more in [here][contributions].\n\n[contributions]: https://hexdocs.pm/hipchat_elixir/contribution.html\n\n## Basic Usage\n\n0. Add [`:hipchat_elixir`](https://hex.pm/packages/hipchat_elixir) as a dependency.\n1. Create client struct (`Hipchat.ApiClient.new/3`).\n    - Pass `access_token` if the targeted API requires authentication.\n    - See [here](https://hexdocs.pm/hipchat_elixir/authentication.html) for details.\n2. Pass the resultant client and other parameters to the targeted API function.\n\n  ```elixir\n  Hipchat.ApiClient.new(\"access_token\")\n  |\u003e Hipchat.V2.Rooms.send_room_notification(\"room_id\", %{message: \"Hello HipChat!\"})\n  # {:ok, %Hipchat.Httpc.Response{body: \"\", headers: ..., status: 204}}\n  ```\n\n## About `Content-Type`\n\nRequest bodies are sent as `content-type: application/json` or\n`content-type: x-www-form-urlencoded` depending on `:serializer` config value.\n\n- See [`config/config.exs`](https://github.com/ymtszw/hipchat_elixir/blob/master/config/config.exs) for example.\n- Some HipChat APIs (implicitly) require `content-type: application/json`,\n  so **introducing JSON serializer is almost mandatory**.\n    - Currently only supports [`Poison`](https://github.com/devinus/poison).\n\n## Status\n\nBasic chat related APIs (CRUD operation of rooms/users, sending messages/notifications, etc) are covered.\n\nMany add-on (extension) related APIs are not covered.\nSince HipChat itself is sunsetting and moving toward [Stride](https://www.stride.com/),\nI may not revisit to perfect these. If interested, [contributions] are welcomed.\n\nOnly supports HipChat cloud (not HipChat server).\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymtszw%2Fhipchat_elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymtszw%2Fhipchat_elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymtszw%2Fhipchat_elixir/lists"}