【发布时间】:2015-05-14 20:31:27
【问题描述】:
如何使用 R 进行 Google 自定义搜索?我有自定义搜索引擎 ID 和 api 密钥。我目前正在尝试这样做:
getURL("https://www.googleapis.com/customsearch/v1?key=API_KEY&cx=ENGINE_ID&q=searchterm")
我收到以下错误:
函数错误(类型、msg、asError = TRUE):SSL 证书 问题:无法获取本地颁发者证书
虽然我在浏览器中执行获取请求时能够以 json 格式获取结果。有什么线索吗?
【问题讨论】:
标签: r api ssl google-custom-search