您好,我想知道如何使用Worldweatheronline.com的天气api它的请求是这样的…
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密钥
发布于 2020-11-19 00:47:16
此包被设计为WorldWeatherOnline接口的包装器:
发布于 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
发布于 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
https://stackoverflow.com/questions/20845707
复制相似问题