Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Google API

  • 14-10-2003 4:41pm
    #1
    Registered Users, Registered Users 2 Posts: 7,580 ✭✭✭


    has anyone experience using the google api? I have an appliaction which searchs for me and returns the first 10 results into an xls file for me, but I want the 1st 500 results, I know its a case of changing the start index but all the examples I've found use perl and VB(I'm using Java). Can't get at the documentation either, something to do with the settings here in college...

    Cheers


Comments

  • Registered Users, Registered Users 2 Posts: 1,452 ✭✭✭tomED


    It's been a while since I have done anything with the Google API, but as far as I can remember there was a limit to the number of results that you could return per query.

    I think that limit was 10 - but by paging through the results you could go up to something like 1000.

    I know with a basic google quesry you can only return 100 results per page (add &num=300 to the query string and you will see that it doesnt go more than 100) - so your limit will definitely be no more than 100.

    I reckon yer best bet is to write something that will loop through the results.....


  • Registered Users, Registered Users 2 Posts: 7,580 ✭✭✭uberwolf


    yeah cheers, the only thing is I'm looking at some fairly seriuos amount of trawling for this project and I'll be blocked very quicklyby them. I'm going to iterate? through repeating the search 50 times setting the gs.setStartresult() to increase every time. Thats the way to do it by all accounts...


Advertisement