From e1a9f023505e0111e0b33b26f7a1a55fe79c4c4f Mon Sep 17 00:00:00 2001 From: Killer069 <65385476+killer069@users.noreply.github.com> Date: Thu, 9 Sep 2021 16:30:14 +0530 Subject: [PATCH] Update README.md --- docs/Spotify/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Spotify/README.md b/docs/Spotify/README.md index 2602a88..a427b8d 100644 --- a/docs/Spotify/README.md +++ b/docs/Spotify/README.md @@ -122,7 +122,7 @@ await data.fetch() // Fetches tracks more than 50 tracks in album ```js let data = await spotify(playlist_url) -console.log(data.tracksCount) // Returns total tracks count in a playlist +console.log(data.tracksCount) // Returns total tracks count in a album ``` ##### page(page_number : `number`) *This will return array of tracks in that page.* @@ -132,7 +132,7 @@ console.log(data.tracksCount) // Returns total tracks count in a playlist ```js let data = await spotify(playlist_url) -console.log(data.page(1)) //This will give first 100 tracks in playlist. +console.log(data.page(1)) //This will give first 50 tracks in album. ``` - total_pages `property`