Accuweather API键未经授权
我从
当我与此格式一起使用时}?apikey = {您的键} {& lanking = {lankagic code}}} {& details = {true或fals或false}}} {& getPhotos = true或false = true或false} , 我得到此错误:
“ {”代码“:”未经授权的“,“消息”:“ API授权失败”,“参考”:“/currentConditions/v1/335315.json?apikey?apikey =& defots = true = true = true = true = true” }“
我做错了什么?
I got an API key from https://developer.accuweather.com/ and I want to use it to get a currentlocation info to use in my smart contract.
When I use it with this format https://{{api}
or {{apidev}}.accuweather.com/currentconditions/{version}/{locationKey}{.{format}}?apikey={your key}{&language={language code}}{&details={true or false}}{&getphotos=true or false}
,
I get this error:
"{"Code":"Unauthorized","Message":"Api Authorization failed","Reference":"/currentconditions/v1/335315.json?apikey=&details=true"}"
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用参数创建一个新应用
“全球”,而不是有问题的“国家”,“这是全球或国家特定用途吗? *”
You need to create a new app with parameter
"Worldwide", not a "Country" in question "Is this Worldwide or Country specific use? *"