List tags

62 views
Skip to first unread message

Mathieu Lagrange

unread,
Mar 28, 2013, 11:18:52 AM3/28/13
to freeso...@googlegroups.com
Hi, 

is there a way to retrive from the api the list of tags ?

Best,

Mathieu Lagrange

gerard roma

unread,
Mar 29, 2013, 10:33:39 AM3/29/13
to freeso...@googlegroups.com
Hi. You can't search directly for tags, so I guess you would have to query for all sounds and get the tags for each sound. This way you can also count the number of sounds per tag and discard the less relevant ones.

best,

gerard


2013/3/28 Mathieu Lagrange <lagrange...@gmail.com>

--
 
---
You received this message because you are subscribed to the Google Groups "Freesound api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to freesound-ap...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ashwin Kalyan

unread,
May 25, 2016, 10:36:44 PM5/25/16
to Freesound API
Hi, I tried doing this. My request gets turned down because I exceed the 2000 requests / day limit. 

Ashwin Kalyan

unread,
May 25, 2016, 10:37:01 PM5/25/16
to Freesound API
Is there any work around? :(

Frederic Font

unread,
May 26, 2016, 4:32:50 AM5/26/16
to freeso...@googlegroups.com
Hi Ashwin,

There are ways in which you can optimize your queries so with less requests you get all the information you need and you do not reach the request limit.
If I understand correctly you basically need the tag list for sounds in Freesound.
The faster way to do it is to make an empty search query and use the fields parameter to indicate that you want to get the tags of each sound. If you do &fields=tags,id you’ll get sound tags and sound id. You can also add more relevant information if you need it (check the docs).
If you also set the page_size to the maximum (150 sounds/page), you should be able to get all the tags from freesound sounds in approximately 2000 requests (300.000 sounds / 150 sounds per page) which would allow you to get all the data in one/two days.

Hope this helps,

Cheers,


frederic





---
Frederic Font
Music Technology Group
Universitat Pompeu Fabra

Freesound | www.freesound.org
Audio Commons | www.audiocommons.org





You received this message because you are subscribed to the Google Groups "Freesound API" group.

To unsubscribe from this group and stop receiving emails from it, send an email to freesound-ap...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages