Forums

    2 posts

  • avatar
    0 sounds
    2 posts
    API help: New search to return each page?


    Hi People,

    Massive apologies if this is in the wrong section of the forum, I couldn't find an API section.

    So I'm looking to use the Python Client Library to search for sounds.

    But it appears from looking at the code that by default only the first page of results is returned per search, and that in order to return pages 2,3,4 e.t.c. I would need conduct a new search with a request for the next page.

    This is inefficient, because if there are 6 pages, and a search takes 20 seconds, then I would have to conduct 6 searches and wait 2 minutes just to return the full list samples that match my criteria (just the ID numbers, not the samples themselves).

    Am I missing something?

  • avatar
    36 sounds
    53 posts


    Hi arifd. we have a google group mailing list for the API, better to ask questions there:

    http://groups.google.com/group/freesound-api

    gerard

    2 posts