I would like a user of my app to
- paste in a Soundcloud track URL to a
<input>
field - press a submit
<button>
- have a function return the track's
id
So far the only way I know how to do a /resolve
is via command line's curl
command as demonstrated here http://developers.soundcloud.com/docs/api/reference#resolve. Is there a way to do this via a Javascript function?
e.g.
SC.resolve(trackURL, id, function(id, error){});