{"height":"190","author_url":"https://blog.hatena.ne.jp/o_tomox/","author_name":"o_tomox","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fo-tomox.hatenablog.com%2Fentry%2F2013%2F10%2F11%2F185539\" title=\"python2.6\u3067requests\u30e2\u30b8\u30e5\u30fc\u30eb\u306ejson()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u308b - [[\u3068\u3082\u3063\u304f\u3059 alloc] init]\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"python2.6\u3067requests\u30e2\u30b8\u30e5\u30fc\u30eb\u306ejson()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u308b","blog_url":"https://o-tomox.hatenablog.com/","type":"rich","provider_url":"https://hatena.blog","published":"2013-10-11 18:55:39","url":"https://o-tomox.hatenablog.com/entry/2013/10/11/185539","width":"100%","image_url":null,"categories":["Python"],"description":"requests\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3068\u3066\u3082\u4fbf\u5229\u3067\u4f7f\u3044\u52dd\u624b\u304c\u3044\u3044\uff0e >>> import requests >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.text u'{\"type\":\"User\"...' >>> r.json() {u'private_gists': xxx, u'total_private_repos': xxx, ...} urllib\u3068\u304burllib2\u3068\u304b\u4f7f\u308f\u305a\u3068\u3082\uff0c\u7c21\u5358\u306b\u3067\u304d\u308b\uff0e\u3055\u3089\u306b\uff0cjson()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u305f\u3089\uff0cjson\u30d1\u30fc\u30b9\u307e\u3067\u3057\u3066\u304f\u308c\u308b\uff0e\u7d20\u6674\u3089\u3057\u3044\uff0e\u305f\u3060\u2026","provider_name":"Hatena Blog","version":"1.0","blog_title":"[[\u3068\u3082\u3063\u304f\u3059 alloc] init]"}