{"url":"https://potisan-programming-memo.hatenablog.jp/entry/2013/12/31/000000","provider_url":"https://hatena.blog","title":"Ruby\u3068net/https\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u30cb\u30b3\u30cb\u30b3\u52d5\u753b\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b","blog_url":"https://potisan-programming-memo.hatenablog.jp/","image_url":null,"description":"\u524d\u306e\u6295\u7a3f\u3067\u8a66\u3057\u3066\u307f\u305f\u30cb\u30b3\u30cb\u30b3\u52d5\u753b\u306egetthumbinfo API\u306f\u30ed\u30b0\u30a4\u30f3\u3092\u5fc5\u8981\u3068\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u53c2\u8003\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068\u4ed6\u306eAPI\u306f\u30ed\u30b0\u30a4\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002\u306a\u306e\u3067Ruby 2.0.0\u3068net/https\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u30cb\u30b3\u30cb\u30b3\u52d5\u753b\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u6700\u521d\u306b\u30b3\u30fc\u30c9\u3092\u793a\u3057\u307e\u3059\u3002 require 'net/https' module NicovideoAPIWrapper extend self def login(mail, password) #\u30ed\u30b0\u30a4\u30f3\u3092\u8a66\u307f\u308b https = Net::HTTP.new('secure.nicovideo.jp', 443) https.use\u2026","author_name":"potisan","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2013%2F12%2F31%2F000000\" title=\"Ruby\u3068net/https\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u30cb\u30b3\u30cb\u30b3\u52d5\u753b\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/potisan/","type":"rich","provider_name":"Hatena Blog","published":"2013-12-31 00:00:00","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","categories":["Ruby","Ruby 2"],"version":"1.0"}