{"id":16406056,"url":"https://github.com/itchyny/mackerel-client-hs","last_synced_at":"2025-10-26T17:31:38.269Z","repository":{"id":56846496,"uuid":"74275656","full_name":"itchyny/mackerel-client-hs","owner":"itchyny","description":"Mackerel API client in Haskell","archived":false,"fork":false,"pushed_at":"2021-02-06T04:21:39.000Z","size":88,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T21:52:59.372Z","etag":null,"topics":["api-client","haskell","haskell-library","mackerel","mackerel-client"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/mackerel-client","language":"Haskell","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/itchyny.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":"2016-11-20T13:25:43.000Z","updated_at":"2021-02-27T05:51:11.000Z","dependencies_parsed_at":"2022-09-09T01:00:28.478Z","dependency_job_id":null,"html_url":"https://github.com/itchyny/mackerel-client-hs","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/itchyny%2Fmackerel-client-hs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itchyny%2Fmackerel-client-hs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itchyny%2Fmackerel-client-hs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itchyny%2Fmackerel-client-hs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itchyny","download_url":"https://codeload.github.com/itchyny/mackerel-client-hs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238375264,"owners_count":19461572,"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":["api-client","haskell","haskell-library","mackerel","mackerel-client"],"created_at":"2024-10-11T06:08:33.417Z","updated_at":"2025-10-26T17:31:37.943Z","avatar_url":"https://github.com/itchyny.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mackerel-client-hs\nAn API client library for [Mackerel](https://mackerel.io).\n\nAPI documents: [Mackerel API Documents (v0)](https://mackerel.io/api-docs/)\n\nThe official Go client library: [mackerel-client-go](https://github.com/mackerelio/mackerel-client-go)\n\n## Example\n```haskell\nimport Data.Default\nimport Web.Mackerel\n\nmain :: IO ()\nmain = do\n  let client = def { apiKey = \"\u003cMackerel-API-KEY\u003e\" }\n\n  print =\u003c\u003c getOrganization client\n  print =\u003c\u003c listUsers client\n\n  print =\u003c\u003c listHosts client def { listHostsParamsService = Just \"servicename\", listHostsParamsRoles = [\"role1\", \"role2\"] }\n\n  print =\u003c\u003c listMonitors client\n  print =\u003c\u003c updateMonitor client monitor { monitorName = \"Monitor name renamed\" }\n  print =\u003c\u003c deleteMonitor client (MonitorId \"\u003cMonitor-ID\u003e\")\n\n  print =\u003c\u003c listAlerts client\n  print =\u003c\u003c closeAlert client (AlertId \"\u003cAlert-ID\u003e\") \"this is not an important alert\"\n```\n\n## Author\nitchyny \u003citchyny@hatena.ne.jp\u003e\n\n## License\nThis software is released under the MIT License, see LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitchyny%2Fmackerel-client-hs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitchyny%2Fmackerel-client-hs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitchyny%2Fmackerel-client-hs/lists"}