FYI.. we recently made a slight change to our APIs related to returning paged 
results.   This should be largely transparent to callers… unless they are 
requesting over 10,000 results.  I’m not sure if in that perhaps some parameter 
that previously was not required is now defaulting to 10,000.

See: https://archive.org/services/search/beta/search_services.json 
<https://archive.org/services/search/beta/search_services.json>

-jcg

John Gonzalez
Director, Engineering and Service Availability
j...@archive.org



> On Mar 22, 2016, at 12:13 PM, Andy Lechlak <andy.lech...@toledolibrary.org> 
> wrote:
> 
> Whoops! Sorry Tom - that's a perfect solution.
> 
> I misread the email and didn't try changing the parameters. That works 
> absolutely perfectly <OutlookEmoji-&amp;#X1f60a.png>
> 
> Cheers!
> 
> Thank you,
> 
> Andy Lechlak
> Virtual Services Coordinator
> Toledo Lucas County Public Library
> 419.259.5252
> Web <http://toledolibrary.org/> | Facebook 
> <https://www.facebook.com/ToledoLibrary/?fref=ts> | Twitter 
> <http://twitter.com/toledolibrary>
>  
> <https://owa.toledolibrary.org/owa/redir.aspx?C=d2504e9067f343e28da94b20f71372f7&URL=mailto%3aAndy.Lechlak%40ToledoLibrary.org>
> 
> From: Ol-tech <ol-tech-boun...@archive.org> on behalf of Tom Morris 
> <tfmor...@gmail.com>
> Sent: Tuesday, March 22, 2016 3:07 PM
> To: Open Library -- technical discussion
> Subject: Re: [ol-tech] API response limiter
>  
> On Tue, Mar 22, 2016 at 2:24 PM, Andy Lechlak <andy.lech...@toledolibrary.org 
> <mailto:andy.lech...@toledolibrary.org>> wrote:
> Any idea who we submit this too?
> You can add it to the issue tracker at: 
> https://github.com/internetarchive/openlibrary/issues 
> <https://github.com/internetarchive/openlibrary/issues>
> but the OpenLibrary staff doesn't really pay attention to it, so you should 
> probably also send email through the contact form: 
> https://openlibrary.org/contact <https://openlibrary.org/contact>
> I realize this is probably something that won't be remedied quickly so we may 
> have to launch our new site without the Open Library integration.
> I don't understand why you can't use the form of the URL that I suggest below 
> with limit & page parameters. Is there some reason that it doesn't meet your 
> requirements?
> 
> Tom
> 
> From: Ol-tech <ol-tech-boun...@archive.org 
> <mailto:ol-tech-boun...@archive.org>> on behalf of Tom Morris 
> <tfmor...@gmail.com <mailto:tfmor...@gmail.com>>
> Sent: Tuesday, March 22, 2016 2:16 PM
> To: Open Library -- technical discussion
> Subject: Re: [ol-tech] API response limiter
>  
> On Mon, Mar 21, 2016 at 9:41 AM, Andy Lechlak <andy.lech...@toledolibrary.org 
> <mailto:andy.lech...@toledolibrary.org>> wrote:
> Has anyone successfully got a limiter in the API results from Open Library? 
> We are working on search integrations and if someone searches for "art" we 
> get 10,000 results when we'd really just like 100 max.
> https://openlibrary.org/search.json?q=art&limit=100&page=1 
> <https://openlibrary.org/search.json?q=art&limit=100&page=1>
> We can of course only display 100, but the data still comes back for 10,000 
> which just hurts performance.
> It looks like something is broken with the default parameters. They should 
> default to something more sensible than returning all the results in a single 
> batch.
> 
> Tom
> 
> 
> _______________________________________________
> Ol-tech mailing list
> ol-tech@archive.org <mailto:ol-tech@archive.org>
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech 
> <http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech>
> Archives: http://www.mail-archive.com/ol-tech@archive.org/ 
> <http://www.mail-archive.com/ol-tech@archive.org/>
> To unsubscribe from this mailing list, send email to 
> ol-tech-unsubscr...@archive.org <mailto:ol-tech-unsubscr...@archive.org>
> 
> _______________________________________________
> Ol-tech mailing list
> ol-tech@archive.org
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> Archives: http://www.mail-archive.com/ol-tech@archive.org/
> To unsubscribe from this mailing list, send email to 
> ol-tech-unsubscr...@archive.org

_______________________________________________
Ol-tech mailing list
ol-tech@archive.org
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/ol-tech@archive.org/
To unsubscribe from this mailing list, send email to 
ol-tech-unsubscr...@archive.org

Reply via email to