We've sent a verification link by email
Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.
Started May 15th, 2021 · 3 replies · Latest reply by frederic.font 3 years, 7 months ago
Hi,
I have been using the Freesound API in python on a daily basis for a while (two weeks or so). But, two days ago, when requesting using the filtering by the duration the response received is an ERROR 400
freesound.FreesoundException:
I'm using the same code I used two weeks ago, and the request is working fine when requested without a filter, am I missing something, has anything changed lately?
This is the code that used to work:
results_pager = freesound_client.text_search(
query="relax",
fields="id,name,username,license,type,duration",
filter="duration:[0.0 TO 901.0]",
sort="duration_desc"
)
Regards,
Ignasi.
Hi,
API-related questions should go to the API mailing list (see links here https://freesound.org/help/developers/).
We did change things but not in the way filters are interpreted. Make sure you're directing your requests to https://freesound.org/xxx (no www. and with https). If problem persists please write to the API mailing list and we can discuss there.
Cheers,