Google自定义搜索是否仍支持XML输出?

问题描述 投票:0回答:1

我正在尝试使用Google自定义搜索API。根据他们的文档,我应该能够传递参数output = xml来接收XML输出。我将此添加到我的获取URL,但仍然得到JSON输出。这是我传递的参数:

https://www.googleapis.com/customsearch/v1?key=MY_API_KEY&cx=MY_CX&output=xml&q=test
google-api google-custom-search
1个回答
0
投票

一年前没有删除ATOM / XML支持:https://developers.google.com/custom-search/v1/overview

您正在看哪个文档?

© www.soinside.com 2019 - 2024. All rights reserved.