{"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftotobook.hatenadiary.org%2Fentry%2F20110222%2F1298355322\" title=\"Scala\u3067Google\u7ffb\u8a33API\u3092\u53e9\u304f - TOY BOX\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://totobook.hatenadiary.org/","provider_url":"https://hatena.blog","height":"190","title":"Scala\u3067Google\u7ffb\u8a33API\u3092\u53e9\u304f","width":"100%","blog_title":"TOY BOX","type":"rich","author_url":"https://blog.hatena.ne.jp/totobook/","published":"2011-02-22 15:15:22","author_name":"totobook","image_url":null,"url":"https://totobook.hatenadiary.org/entry/20110222/1298355322","categories":["Scala"],"description":"Scala\u3067WebAPI\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u30b7\u30ea\u30fc\u30ba\u7b2c\u4e8c\u5f3e\u3002\u4eca\u56de\u306f\u904a\u3073\u5fc3\u3042\u3075\u308c\u308b\u3053\u3068\u3067\u5b9a\u8a55\u306e\u3042\u308bGoogle\u7ffb\u8a33\u306eAPI\u3067\u3059\u3002 import scala.io.Source import scala.util.parsing.json.JSON val url = \"https://www.googleapis.com/language/translate/v2?key=\u81ea\u5206\u7528\u306e\u30ad\u30fc\" val q = \"&q=\" + java.net.URLEncoder.encode(\"\u3053\u3093\u306b\u3061\u306f\", \"utf-8\"); val eToJ = \"&source=ja&target=en\" val api = ur\u2026","provider_name":"Hatena Blog"}