{"type":"rich","width":"100%","height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20070505%2Fp1\" title=\" Stream\u3092\u8aad\u307f\u8fbc\u3080\u30bf\u30a4\u30d7\u306e\u30d1\u30fc\u30b5\u7528 Yahoo\u691c\u7d22API\u30af\u30e9\u30b9 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"so what","title":" Stream\u3092\u8aad\u307f\u8fbc\u3080\u30bf\u30a4\u30d7\u306e\u30d1\u30fc\u30b5\u7528 Yahoo\u691c\u7d22API\u30af\u30e9\u30b9","categories":["RUBY"],"description":"\u3068\u308a\u3042\u3048\u305a\u3002 net/http\u304b\u3089\u3044\u304f\u3064\u304b\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u501f\u308a\u305f\u3002 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 require 'socket' class YahooSearchAPI HOST = 'api.search.yahoo.co.jp' PATH = '/WebSearchService/V1/webSearch' attr_reader :status_line def initialize(appid, options = {}) @params = Hash[options] @params['appid'] = appid end def query(query_string) params = Hash\u2026","image_url":null,"version":"1.0","author_name":"winebarrel","author_url":"https://blog.hatena.ne.jp/winebarrel/","blog_url":"https://so-wh.at/","url":"https://so-wh.at/entry/20070505/p1","published":"2007-05-05 00:00:04","provider_name":"Hatena Blog"}