[GH-ISSUE #164] Different results using the web console and this lib #80

Closed
opened 2026-02-27 23:20:44 +03:00 by kerem · 3 comments
Owner

Originally created by @gaspaio on GitHub (Feb 18, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/164

I'm gettting different sets of results for the same query string when I test it via the web console (or curl) and via the spotipy search method.

For example : the query 'trick me artist:kelis' yields many more results via the web console than via the library.

Any ideas why this is so ? Looking at the source code I can't find an explanation. Could it be linked to the auth token ?

Originally created by @gaspaio on GitHub (Feb 18, 2017). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/164 I'm gettting different sets of results for the same query string when I test it via the web console (or curl) and via the spotipy search method. For example : the query 'trick me artist:kelis' yields many more results via the web console than via the library. Any ideas why this is so ? Looking at the source code I can't find an explanation. Could it be linked to the auth token ?
kerem closed this issue 2026-02-27 23:20:44 +03:00
Author
Owner

@gaspaio commented on GitHub (Feb 19, 2017):

Actually, using the token I got from the web console I get the same results via spotipy. Still don't get why though.
I guess this is not a bug after all. Closing request and thanks for the great work.

<!-- gh-comment-id:280915558 --> @gaspaio commented on GitHub (Feb 19, 2017): Actually, using the token I got from the web console I get the same results via spotipy. Still don't get why though. I guess this is not a bug after all. Closing request and thanks for the great work.
Author
Owner

@MarvBob commented on GitHub (Dec 11, 2017):

I'm facing the same issue: when using oauth2.SpotifyClientCredentials with my client id and secret given in my app dashboard on spotify for developers, I have a lot less results than using the web console.
I confirm I get the same results via spotipy when using the token I got from the web console but I would like to understand how can I get a token that will let me access to all results... I don't think it is a good practice to hardcode the token given in the web console.

<!-- gh-comment-id:350726189 --> @MarvBob commented on GitHub (Dec 11, 2017): I'm facing the same issue: when using `oauth2.SpotifyClientCredentials` with my client id and secret given in my app dashboard on spotify for developers, I have a lot less results than using the web console. I confirm I get the same results via spotipy when using the token I got from the web console but I would like to understand how can I get a token that will let me access to all results... I don't think it is a good practice to hardcode the token given in the web console.
Author
Owner

@xmztools commented on GitHub (Apr 20, 2019):

I'm having this same problem with spotipy returning many fewer results than the web console. How do I hardcode the token from the web console into my app that uses spotipy so I can check if it helps my issue though? Do I use it in place of the client credentials manager?

<!-- gh-comment-id:485063078 --> @xmztools commented on GitHub (Apr 20, 2019): I'm having this same problem with spotipy returning many fewer results than the web console. How do I hardcode the token from the web console into my app that uses spotipy so I can check if it helps my issue though? Do I use it in place of the client credentials manager?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#80
No description provided.