Closed hayribakici closed 9 months ago
@rinukkusu currently library users have to have a spotifyApi
instance to access this new function. However, it would also work if we make this method static
. I am currently on the fence with this one, what do you think?
Let's make it static then! Sounds like a good idea.
oh, I was mistaken. Nevermind. It's not possible to make it static, since we are using the requestWrapper()
method.
This PR fixes #154 and adds a new method
spotifyApi.expandLink(shortenedUrl)
to expand shortened links.In order that to happen the underlying http library has been updated to version
1.2.0
.