首页 > 解决方案 > 带有 SteamSpy 的 UrlFetchApp.fetch(url) 无法正常工作

问题描述

如果你有蒸汽间谍链接:https ://steamspy.com/api.php?request=tag&tag=Early+Access 你得到你所期望的。

但是使用相同的 URL

UrlFetchApp.fetch("https://steamspy.com/api.php?request=tag&tag=Early+Access"); 

只返回如下所示的 api home page

https://steamspy.com/api.php

为什么UrlFetchApp.fetch()忽略 URL 的请求部分?

标签: apigoogle-apps-scriptgoogle-sheetsresponseurlfetch

解决方案


自 8 月以来,api 出现了问题。仅返回 api 描述 - 无数据


推荐阅读