bartoszgwozdz / contact-finder

Contact finding service for mailist project.
0 stars 0 forks source link

check how to implement more than 10 results #6

Open bartoszgwozdz opened 3 months ago

bartoszgwozdz commented 3 months ago

when calling : https://customsearch.googleapis.com/customsearch/v1?q=Lublin%20O%C5%9Brodek%20kultury%20%20kontakt&**num=10** I cannot set more results than 10, null pointer returns. Need to check for possibility to request for more results. It will be required for other organization units in example shops.

bartoszgwozdz commented 3 months ago

https://developers.google.com/custom-search/v1/reference/rest/v1/cse/list?hl=pl#request

bartoszgwozdz commented 3 months ago

i.e: String url = String.format("https://www.googleapis.com/customsearch/v1?key=%s&cx=%s&q=%s&start=%d", API_KEY, CX, query, startIndex);