Y
Hacker News
new
|
ask
|
show
|
jobs
by
contrahax
4774 days ago
That endpoint just returns meta info about the song including the duration, quality, etc.
2 comments
andreasvc
4774 days ago
If it returns metadata, why not call it getMetadata, to avoid any confusion? getSongFile does kind of suggest like it gets you a file!
link
fastest963
4774 days ago
Despite the fact that the comment on the function says "file.url is an mp3 url you can download the file"?
link
contrahax
4774 days ago
.url is a part of the meta info from the api - there is no downloading functionality in the api library itself. The song url is just the culmination of the song id and your session
link