Open Weather Map

フリーミアム
開発者 community
更新日 4日前
天気
9.9/10
人気度
70ms
レイテンシ
97%
正常稼働率

「Open Weather Map 」のドキュメント

Get weather and weather forecasts for multiple cities.

全文を表示する
GETCurrent Weather Data
GETCall 16 day / daily forecast data
GETSearch Weather Data
GET5 day / 3 hour forecast data
GETCurrent Weather Data

Using this kind of requests you can get weather data in any location on the earth. The current weather data are updated online based on data from more than 40,000 weather stations.

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
qSTRING
REQUIREDuse this parameter when searching for a city. Do not use with other parameters
パラメータ(Option)
latNUMBER
OPTIONALMust be used with lon. Get current weather data when you know the latitude of the city.
lonNUMBER
OPTIONALMust be used with lat. Get current weather data when you know the longitude of the city.
callbackSTRING
OPTIONALTo use JavaScrip code you can transfer callback functionName to JSONP callback.
idNUMBER
OPTIONALGet current weather data when you know the city ID. Not to be used with lon, lat, or q
langSTRING
OPTIONALYou can use lang parameter to get output in your language. We support the following languages that you can use with the corresponded lang values: English - en, Russian - ru, Italian - it, Spanish - sp, Ukrainian - ua, German - de, Portuguese - pt, Romanian - ro, Polish - pl, Finnish - fi, Dutch - nl, French - fr, Bulgarian - bg, Swedish - se, Chinese Traditional - zh_tw, Chinese Simplified - zh_cn, Turkish - tr
unitsSTRING
OPTIONALYou can use different types of metric systems by units = metric or imperial
modeSTRING
OPTIONALIf left blank will default to JSON output. Ability to retrieve data in XML or HTML.
コードスニペット
SDKをインストール
レスポンス例

SDKをインストール((Node.js)Unirest)

OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証