spotify-api / spotify-api.js

A complete wrapper for spotify web api for deno, node.js and the browser.
https://spotify-api.js.org
MIT License
214 stars 19 forks source link

v3 Updates #1

Closed scientific-dev closed 4 years ago

scientific-dev commented 4 years ago

I didnt added any functions to it or rather any removed instead i did some changes like that they can access Utils aka Spotify class and Custom Errors too

And most important thing is see it was like this:

spotify.album.get('id')

And now its

spotify.albums.get('id')

So the difference the attributes are in plurals. This might have some problems. You can make more this attributes for singular too. And i changed some license names which you change on your wish! I updated version in pkg.json and in index.ts version exports.

And yeah i deleted class folder and i made lib folder and without any kind of sub folders to easy to access and i made one more way to access lib files like Track.ts etc by

spotify.lib.<lib-file-name>

And you can access the Spotify class too which is the utils

spotify.util

And the most biggest thing is that i didnt updated dist\ folder so u can use git for it and yes i updated some what of docs\ but not finished but i will finish in some time but yeah i finished updating and styling README.md

And make sure that there are mistakes in codes. I removed spotify-uri-info pkg too... Instead i made that pkg in spotify class itself. Make sure to install cheerio too...