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