spotify-web-api-node icon indicating copy to clipboard operation
spotify-web-api-node copied to clipboard

Incorrect name of Spotify Wrapper

Open Deep-Codes opened this issue 4 years ago • 0 comments

In the README.md

Example of Get tracks in a playlist

api
  .getPlaylistTracks('3ktAYNcRHpazJ9qecm3ptn', {
    offset: 1,
    limit: 5,
    fields: 'items'
  })
  .then(
    function(data) {
      console.log('The playlist contains these tracks', data.body);
    },
    function(err) {
      console.log('Something went wrong!', err);
    }
  );

Shouldn't it be spotifyApi instead of api

Deep-Codes avatar Feb 18 '21 13:02 Deep-Codes