Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to query recent tracks by tag #374

Open
mfoster58 opened this issue Feb 22, 2025 · 4 comments
Open

Unable to query recent tracks by tag #374

mfoster58 opened this issue Feb 22, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@mfoster58
Copy link

mfoster58 commented Feb 22, 2025

I wrote a basic function with the goal of querying tracks with a certain tag and auto reposting to the user's account. I noticed that the query is searching the "Popular tracks tagged with: XXX" rather than the recent tracks tab. I don't see any parameter option to change this and for the tag I need to query, I need all tracks to be reposted. It seems that if the track isn't popular enough it won't be found in the query at all.

See here for the tag I need to query and notice how the track doesn't appear in the popular tracks tab.

Here is my query:

search_response = requests.get(SEARCH_URL, headers=headers, params={ 'tags': 'codex-collective', 'limit': 5 })

The output of the response JSON is [].
I tried for a tag with tracks in the popular tracks tab and it successfully returned the first 5 tracks on that list. So I have confirmed my auth and the endpoint are working.

Would really like to know if there is a way to query the recent tracks tab?

@dpreussler
Copy link
Contributor

@mfoster58 what is the endpoint you're using?

@mfoster58
Copy link
Author

@dpreussler dpreussler added the bug Something isn't working label Feb 26, 2025
@dpreussler
Copy link
Contributor

I can reproduce, let me dig into this, will come back to you

@mfoster58
Copy link
Author

@dpreussler checking in to see if there is an update on this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants