如何在forecast.io上搜索位置? [英] How to search location on forecast.io ?

查看:82
本文介绍了如何在forecast.io上搜索位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



目前,我想使用https://developer.forecast.io获取天气数据。但我无法搜索位置,我看到它只能获得经纬度数据(https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE)。如何搜索位置以获取纬度和经度(例如:我搜索新加坡以获得纬度+经度,之后我可以通过输入获取数据https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE 。



请帮帮我!

祝你好运,

Peter

Hi all,

Currently, I want to use https://developer.forecast.io to get data for weather. But I can not search with location, I see that it only get data follow latitude and longitude (https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE). How can I search a location to get latitude and longitude (ex: I search "Singapore" to get Latitude + Longitude, after that I can get data by input https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE.

Please help me!
Best regards,
Peter

推荐答案

http://forums.windowscentral.com获取提示/app-spotlight/252062-weathr-weather-app.html [ ^ ]



https://github.com/f0xy/forecast.io-csharp [ ^ ]


这篇关于如何在forecast.io上搜索位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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