1
我試圖用紅寶石客戶端訪問谷歌網站管理員工具API:如何使用ruby客戶端訪問包含siteURL的Google API方法?
webmaster_tools_api = client.discovered_api('webmasters', 'v3')
result = client.execute(
:api_method => webmaster_tools_api.sites.example.com.urlCrawlErrorsCounts.query,
)
我試圖訪問的API方法使用方法名SITEURL。這將不起作用,因爲語法衝突。
有沒有辦法訪問包含URL的API方法名?
同意。文檔很糟糕。任何關於更好的信息來源的建議,還是必須閱讀他們的源代碼? – 2017-05-23 12:47:22