首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用世界天气在线api

问如何使用世界天气在线api
EN

Stack Overflow用户
提问于 2013-12-31 02:59:22
回答 3查看 4.4K关注 0票数 3

您好,我想知道如何使用Worldweatheronline.com的天气api它的请求是这样的…

代码语言:javascript
复制
http://api.worldweatheronline.com/free/v1/weather.ashx?q=London&format=json&num_of_days=5&show_comments=no&key=xxxxxxxxxxxxxxxxxxxxxxx

我是个新手,真的不知道如何使用它,任何帮助我都很感激。

它使用JSON请求,可以在这里的http://developer.worldweatheronline.com/io-docs中找到它。

密钥xxxxxxxxxxxxxxxxxxxx用于隐藏my密钥

EN

回答 3

Stack Overflow用户

发布于 2020-11-19 00:47:16

此包被设计为WorldWeatherOnline接口的包装器:

https://pypi.org/project/WorldWeatherPy/

票数 1
EN

Stack Overflow用户

发布于 2015-02-20 22:06:31

他们最近在博客上发布了一些指南,展示了如何在PHP和NodeJs中使用他们的API

PHP Getting Started with World Weather Online API using PHP

Node.js Getting Started with World Weather Online API & Node.js

票数 0
EN

Stack Overflow用户

发布于 2016-01-29 16:53:13

下面是一个示例http://api.worldweatheronline.com/free/v2/weather.ashx?key=[API_KEY]&q=48.85,2.35&num_of_days=2&tp=3&format=json

这里有必填字段和非必填字段的指南:http://www.worldweatheronline.com/api/docs/local-city-town-weather-api.aspx#current_condition_element

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20845707

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档