<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mackerelio</author_name>
  <author_url>https://blog.hatena.ne.jp/mackerelio/</author_url>
  <blog_title>Mackerel ブログ #mackerelio</blog_title>
  <blog_url>https://mackerel.io/ja/blog/</blog_url>
  <categories>
  </categories>
  <description>MackerelではAPIを使っていろいろな機能を実現することができます。 本記事ではより便利になったMackerelのAPIの活用事例を紹介します。 MackerelのAPIについて MackerelではAPIを使用して、各種の情報の取得や更新が出来ます。 例えば管理しているホストの一覧はcurlを使って以下のように取得できます。 $ curl -H &quot;X-Api-Key: &lt;YOUR_API_KEY&gt;&quot; https://mackerel.io/api/v0/hosts.json レスポンスはJSONで返ってくるため、各言語のJSONライブラリを使ってパースしたり、jqなどのツールで必要な情…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmackerel.io%2Fja%2Fblog%2Fentry%2F2015%2F09%2F03%2F202748&quot; title=&quot;読み取り専用APIキーと新しいAPIを使った安心で便利なサーバ管理 - Mackerel ブログ #mackerelio&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cloud.githubusercontent.com/assets/177858/9652850/e99fbd1c-5259-11e5-8f29-45b87e5a6ece.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-03 20:27:48</published>
  <title>読み取り専用APIキーと新しいAPIを使った安心で便利なサーバ管理</title>
  <type>rich</type>
  <url>https://mackerel.io/ja/blog/entry/2015/09/03/202748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
