How to use R to do a custom Google search? I have a search engine id and api key. I am currently trying to do this:
getURL("https://www.googleapis.com/customsearch/v1?key=API_KEY&cx=ENGINE_ID&q=searchterm")
and I get the following error:
Error in function (type, msg, asError = TRUE): SSL certificate problem: Failed to get local issuer certificate
Although I can get the results in json when I get the request in the browser. Any clue on what's going on?
source share