how to make a JSON call to a url?

Posted by Haroldo on Stack Overflow See other posts from Stack Overflow or by Haroldo
Published on 2010-03-23T11:52:06Z Indexed on 2010/03/23 11:53 UTC
Read the original article Hit count: 473

Filed under:
|

Hi I'm looking at the following API http://wiki.github.com/soundcloud/api/oembed-api

the example they give

Call:

http://soundcloud.com/oembed?url=http%3A//soundcloud.com/forss/flickermood&format=json

Response:

{
"html":"<object height=\"81\" ... ",
"user":"Forss",
"permalink":"http:\/\/soundcloud.com\/forss\/flickermood",
"title":"Flickermood",
"type":"rich",
"provider_url":"http:\/\/soundcloud.com",
"description":"From the Soulhack album...",
"version":1.0,
"user_permalink_url":"http:\/\/soundcloud.com\/forss",
"height":81,
"provider_name":"Soundcloud",
"width":0

}

What do i have to do to get this json object from just a url?!!?

© Stack Overflow or respective owner

Related posts about JSON

Related posts about JavaScript