I want to use the Google Custom Search API (or custom search engine directly) in the following manner–
(1) I want to get the set of results for a search term for Google UK(This should return results that are returned by a regular search on Google.co.uk- Google UK)
(2) I want to get the results for a search on Google.co.in(Google India)
Is it possible to do the above, either directly while creating a custom search engine, or through the API?
Yes. It is possible. Specifiy the parameter
googlehostin your query. Example:&googlehost=google.deor whatever country you want.