通过HTML5地理位置获取天气 [英] Get weather by html5 geolocation

查看:1408
本文介绍了通过HTML5地理位置获取天气的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个免费的API根据地理位置来获取当地天气纬度/经度坐标?

Is there a free API to get the local weather by geolocation lat/long coordinates?

推荐答案

世界天气在线API - 的http://开发商。 worldweatheronline.com/

World Weather Online API - http://developer.worldweatheronline.com/

他们是非常明确的与他们的定价模式。他们的自由层包括:

They are very explicit with their pricing model. Their free tier includes:


  • 本地城镇天气

    • 现状加上5天天气预报,24小时预测


    • 一日天气,每小时3间隔


    • 当前时间

    • UTC偏移小时和分钟


    • 搜索城镇(地理编码)


      每小时
    • 500请求

    • 个人和商业使用

    • 99%的正常运行时间

    • 电子邮件支持

    有关完整的ToS: http://developer.worldweatheronline.com/free_api_terms_of_use

    这篇关于通过HTML5地理位置获取天气的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆