Tumblrs API を使用しようとしています。API の URL にアクセスすると、以下のようになります。
{
"meta": {
"status": 200
"msg": "OK",
},
"response": {
"blog": {
"title": "Ex-Sample",
"posts": 20,
"name": "example",
"url": "http://example.tumblr.com/",
"updated": 1327794725,
"description": "A sample document used to provide examples of the various [and <i>varying</i>] HTML tags Tumblr puts out. Quote, specifically, has a lot of variants.",
"ask": false
}
}
}
URL はhttp://api.tumblr.com/v2/blog/example.tumblr.com/info?api_key=(APIKEY )です。
上記のURLで「投稿」番号が何であるかを取得しようとしています。PHP でそれを行うにはどうすればよいですか?