Visual Crossing Weather

フリーミアム
開発者 awigmore
更新日 4ヶ月前
天気
8.3/10
人気度
337ms
レイテンシ
100%
正常稼働率

「Visual Crossing Weather 」のドキュメント

Visual Crossing Weather APIは、過去の天気記録と天気予報データの両方への即時アクセスを提供します。

全文を表示する
GETHistorical weather record
GETWeather forecast data
GETHistorical weather record

気象履歴データは、毎時または毎日の過去の気象記録を取得するのに適しています。

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
startDateTimeSTRING
REQUIREDhe date time for the start of the data request using the time zone of the location. In the ISO format: yyyy-MM-ddTHH:mm:ss. Hours should be specified in 24 hour clock format.
aggregateHoursNUMBER
REQUIREDThe interval between weather history data in the output. 1 represent hourly records, 24 represents a daily forecast. As the source data is recorded at the hourly level, 24 hour records are aggregated to indicate the predominant weather conditions during that time period. Supported values 1 or 24.
locationSTRING
REQUIREDThe address or latitude or longitude of the location. Addresses can be specified as full addresses. The system will also attempt to match partial addresses such as city, state, zip code, postal code and other common formats. When specify a point based on longitude, latitude, the format must be specifed as latitude,longitude where both latitude and longitude are in decimal degrees. latitude should run from -90 to 90 and longitude from -180 to 180 (with 0 being at the prime meridian through London, UK).
endDateTimeSTRING
REQUIREDThe date time for the start of the data request using the time zone of the location. In the ISO format: yyyy-MM-ddTHH:mm:ss. Hours should be specified in 24 hour clock format.
unitGroupSTRING
REQUIREDThe system of units used for the output data. Supported values are us,uk,metric
パラメータ(Option)
dayStartTimeSTRING
OPTIONAL When present and not set to the same as the dayEndTime, filters the output to records that between the specified day times. This is useful for setting filters for business hours. Format h:m:ss (eg 9:00:00 woudl be 9am).
dayEndTimeSTRING
OPTIONALWhen present and not set to the same as the dayEndTime, filters the output to records that between the specified day times.
shortColumnNamesBOOLEAN
OPTIONALWhen false, the returned dataset includes descriptive column names. When true, returns shorter, abbreviated column names with only alphanumeric characters. The short names are useful for programmatic use of the data.
コードスニペット
SDKをインストール
レスポンス例

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

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