Created
November 18, 2024 16:35
-
-
Save joshtwist/93977b2d0a67a606239db2203c131403 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: Daily Forecasts API | |
description: Daily Forecasts API description. | |
termsOfService: https://developer.accuweather.com/legal | |
contact: | |
name: AccuWeather Sales | |
url: https://developer.accuweather.com/ | |
email: [email protected] | |
license: | |
name: AccuWeather Data Service Terms of Use | |
url: https://developer.accuweather.com/legal | |
version: v1 | |
servers: | |
- url: https://api.accuweather.com | |
description: Enterprise API | |
- url: https://dataservice.accuweather.com | |
description: Developer API | |
tags: | |
- name: Forecasts Daily | |
paths: | |
/forecasts/v1/daily/daily/{locationKey}: | |
get: | |
tags: | |
- Forecasts Daily | |
summary: "GET_Daily_daily_locationKey summary\r\n" | |
description: "GET_Daily_daily_locationKey description\r\n" | |
operationId: GET_Daily_daily_locationKey | |
parameters: | |
- name: locationKey | |
in: path | |
required: true | |
schema: | |
type: string | |
- name: format | |
in: query | |
schema: | |
type: string | |
default: json | |
- name: language | |
in: query | |
schema: | |
type: string | |
default: en-us | |
- name: dayCount | |
in: query | |
schema: | |
type: integer | |
format: int32 | |
default: 1 | |
- name: details | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: metric | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: startDate | |
in: query | |
schema: | |
type: string | |
format: date-time | |
- name: apiKey | |
in: query | |
required: true | |
schema: | |
type: string | |
responses: | |
'200': | |
description: OK | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecastSummary' | |
x-codeSamples: | |
- lang: shell | |
source: |- | |
curl --request GET \ | |
--url 'https://api.accuweather.com/forecasts/v1/daily/daily/{locationKey}?format=STRING&language=STRING&dayCount=INTEGER&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING' | |
label: Shell + Curl | |
- lang: javascript | |
source: |- | |
const http = require("https"); | |
const options = { | |
"method": "GET", | |
"hostname": "api.accuweather.com", | |
"port": null, | |
"path": "/forecasts/v1/daily/daily/{locationKey}?format=STRING&language=STRING&dayCount=INTEGER&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING", | |
"headers": {} | |
}; | |
const req = http.request(options, function (res) { | |
const chunks = []; | |
res.on("data", function (chunk) { | |
chunks.push(chunk); | |
}); | |
res.on("end", function () { | |
const body = Buffer.concat(chunks); | |
console.log(body.toString()); | |
}); | |
}); | |
req.end(); | |
label: Node + Native | |
- lang: csharp | |
source: |- | |
var client = new HttpClient(); | |
var request = new HttpRequestMessage | |
{ | |
Method = HttpMethod.Get, | |
RequestUri = new Uri("https://api.accuweather.com/forecasts/v1/daily/daily/{locationKey}?format=STRING&language=STRING&dayCount=INTEGER&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING"), | |
}; | |
using (var response = await client.SendAsync(request)) | |
{ | |
response.EnsureSuccessStatusCode(); | |
var body = await response.Content.ReadAsStringAsync(); | |
Console.WriteLine(body); | |
} | |
label: Csharp + Httpclient | |
- lang: python | |
source: |- | |
import http.client | |
conn = http.client.HTTPSConnection("api.accuweather.com") | |
conn.request("GET", "/forecasts/v1/daily/daily/{locationKey}?format=STRING&language=STRING&dayCount=INTEGER&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING") | |
res = conn.getresponse() | |
data = res.read() | |
print(data.decode("utf-8")) | |
label: Python + Python3 | |
/forecasts/v1/daily/daily/{dayCount}day/{locationKey}: | |
get: | |
tags: | |
- Forecasts Daily | |
summary: "GET_Daily_daily_dayCount_day_locationKey summary\r\n" | |
description: "GET_Daily_daily_dayCount_day_locationKey description\r\n" | |
operationId: GET_Daily_daily_dayCount_day_locationKey | |
parameters: | |
- name: locationKey | |
in: path | |
required: true | |
schema: | |
type: string | |
- name: format | |
in: query | |
schema: | |
type: string | |
default: json | |
- name: language | |
in: query | |
schema: | |
type: string | |
default: en-us | |
- name: dayCount | |
in: path | |
required: true | |
schema: | |
pattern: ^(1|5|7|10|15|25|45|90)$ | |
type: integer | |
format: int32 | |
default: 1 | |
- name: details | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: metric | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: startDate | |
in: query | |
schema: | |
type: string | |
format: date-time | |
- name: apiKey | |
in: query | |
required: true | |
schema: | |
type: string | |
responses: | |
'200': | |
description: OK | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecastSummary' | |
x-codeSamples: | |
- lang: shell | |
source: |- | |
curl --request GET \ | |
--url 'https://api.accuweather.com/forecasts/v1/daily/daily/{dayCount}day/{locationKey}?format=STRING&language=STRING&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING' | |
label: Shell + Curl | |
- lang: javascript | |
source: |- | |
const http = require("https"); | |
const options = { | |
"method": "GET", | |
"hostname": "api.accuweather.com", | |
"port": null, | |
"path": "/forecasts/v1/daily/daily/{dayCount}day/{locationKey}?format=STRING&language=STRING&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING", | |
"headers": {} | |
}; | |
const req = http.request(options, function (res) { | |
const chunks = []; | |
res.on("data", function (chunk) { | |
chunks.push(chunk); | |
}); | |
res.on("end", function () { | |
const body = Buffer.concat(chunks); | |
console.log(body.toString()); | |
}); | |
}); | |
req.end(); | |
label: Node + Native | |
- lang: csharp | |
source: |- | |
var client = new HttpClient(); | |
var request = new HttpRequestMessage | |
{ | |
Method = HttpMethod.Get, | |
RequestUri = new Uri("https://api.accuweather.com/forecasts/v1/daily/daily/{dayCount}day/{locationKey}?format=STRING&language=STRING&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING"), | |
}; | |
using (var response = await client.SendAsync(request)) | |
{ | |
response.EnsureSuccessStatusCode(); | |
var body = await response.Content.ReadAsStringAsync(); | |
Console.WriteLine(body); | |
} | |
label: Csharp + Httpclient | |
- lang: python | |
source: |- | |
import http.client | |
conn = http.client.HTTPSConnection("api.accuweather.com") | |
conn.request("GET", "/forecasts/v1/daily/daily/{dayCount}day/{locationKey}?format=STRING&language=STRING&details=BOOLEAN&metric=BOOLEAN&startDate=STRING&apiKey=STRING") | |
res = conn.getresponse() | |
data = res.read() | |
print(data.decode("utf-8")) | |
label: Python + Python3 | |
/forecasts/v1/daily/daily/stations/{stationCode}: | |
get: | |
tags: | |
- Forecasts Daily | |
summary: "GET_Daily_daily_stations_stationCode summary\r\n" | |
description: "GET_Daily_daily_stations_stationCode description\r\n" | |
operationId: GET_Daily_daily_stations_stationCode | |
parameters: | |
- name: stationCode | |
in: path | |
required: true | |
schema: | |
type: string | |
- name: locationOffset | |
in: query | |
schema: | |
type: number | |
format: float | |
- name: stationOffset | |
in: query | |
schema: | |
type: number | |
format: float | |
- name: format | |
in: query | |
schema: | |
type: string | |
default: json | |
- name: language | |
in: query | |
schema: | |
type: string | |
default: en-us | |
- name: dayCount | |
in: query | |
schema: | |
type: integer | |
format: int32 | |
default: 1 | |
- name: metric | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: details | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: startDate | |
in: query | |
schema: | |
type: string | |
format: date-time | |
- name: apiKey | |
in: query | |
required: true | |
schema: | |
type: string | |
responses: | |
'200': | |
description: OK | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecastSummary' | |
x-codeSamples: | |
- lang: shell | |
source: |- | |
curl --request GET \ | |
--url 'https://api.accuweather.com/forecasts/v1/daily/daily/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&dayCount=INTEGER&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING' | |
label: Shell + Curl | |
- lang: javascript | |
source: |- | |
const http = require("https"); | |
const options = { | |
"method": "GET", | |
"hostname": "api.accuweather.com", | |
"port": null, | |
"path": "/forecasts/v1/daily/daily/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&dayCount=INTEGER&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING", | |
"headers": {} | |
}; | |
const req = http.request(options, function (res) { | |
const chunks = []; | |
res.on("data", function (chunk) { | |
chunks.push(chunk); | |
}); | |
res.on("end", function () { | |
const body = Buffer.concat(chunks); | |
console.log(body.toString()); | |
}); | |
}); | |
req.end(); | |
label: Node + Native | |
- lang: csharp | |
source: |- | |
var client = new HttpClient(); | |
var request = new HttpRequestMessage | |
{ | |
Method = HttpMethod.Get, | |
RequestUri = new Uri("https://api.accuweather.com/forecasts/v1/daily/daily/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&dayCount=INTEGER&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING"), | |
}; | |
using (var response = await client.SendAsync(request)) | |
{ | |
response.EnsureSuccessStatusCode(); | |
var body = await response.Content.ReadAsStringAsync(); | |
Console.WriteLine(body); | |
} | |
label: Csharp + Httpclient | |
- lang: python | |
source: |- | |
import http.client | |
conn = http.client.HTTPSConnection("api.accuweather.com") | |
conn.request("GET", "/forecasts/v1/daily/daily/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&dayCount=INTEGER&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING") | |
res = conn.getresponse() | |
data = res.read() | |
print(data.decode("utf-8")) | |
label: Python + Python3 | |
/forecasts/v1/daily/daily/{dayCount}day/stations/{stationCode}: | |
get: | |
tags: | |
- Forecasts Daily | |
summary: "GET_Daily_daily_dayCount_day_stations_stationCode summary\r\n" | |
description: "GET_Daily_daily_dayCount_day_stations_stationCode description\r\n" | |
operationId: GET_Daily_daily_dayCount_day_stations_stationCode | |
parameters: | |
- name: stationCode | |
in: path | |
required: true | |
schema: | |
type: string | |
- name: locationOffset | |
in: query | |
schema: | |
type: number | |
format: float | |
- name: stationOffset | |
in: query | |
schema: | |
type: number | |
format: float | |
- name: format | |
in: query | |
schema: | |
type: string | |
default: json | |
- name: language | |
in: query | |
schema: | |
type: string | |
default: en-us | |
- name: dayCount | |
in: path | |
required: true | |
schema: | |
pattern: ^(1|5|7|10|15|25|45|90)$ | |
type: integer | |
format: int32 | |
default: 1 | |
- name: metric | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: details | |
in: query | |
schema: | |
type: boolean | |
default: false | |
- name: startDate | |
in: query | |
schema: | |
type: string | |
format: date-time | |
- name: apiKey | |
in: query | |
required: true | |
schema: | |
type: string | |
responses: | |
'200': | |
description: OK | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecastSummary' | |
x-codeSamples: | |
- lang: shell | |
source: |- | |
curl --request GET \ | |
--url 'https://api.accuweather.com/forecasts/v1/daily/daily/{dayCount}day/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING' | |
label: Shell + Curl | |
- lang: javascript | |
source: |- | |
const http = require("https"); | |
const options = { | |
"method": "GET", | |
"hostname": "api.accuweather.com", | |
"port": null, | |
"path": "/forecasts/v1/daily/daily/{dayCount}day/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING", | |
"headers": {} | |
}; | |
const req = http.request(options, function (res) { | |
const chunks = []; | |
res.on("data", function (chunk) { | |
chunks.push(chunk); | |
}); | |
res.on("end", function () { | |
const body = Buffer.concat(chunks); | |
console.log(body.toString()); | |
}); | |
}); | |
req.end(); | |
label: Node + Native | |
- lang: csharp | |
source: |- | |
var client = new HttpClient(); | |
var request = new HttpRequestMessage | |
{ | |
Method = HttpMethod.Get, | |
RequestUri = new Uri("https://api.accuweather.com/forecasts/v1/daily/daily/{dayCount}day/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING"), | |
}; | |
using (var response = await client.SendAsync(request)) | |
{ | |
response.EnsureSuccessStatusCode(); | |
var body = await response.Content.ReadAsStringAsync(); | |
Console.WriteLine(body); | |
} | |
label: Csharp + Httpclient | |
- lang: python | |
source: |- | |
import http.client | |
conn = http.client.HTTPSConnection("api.accuweather.com") | |
conn.request("GET", "/forecasts/v1/daily/daily/{dayCount}day/stations/{stationCode}?locationOffset=NUMBER&stationOffset=NUMBER&format=STRING&language=STRING&metric=BOOLEAN&details=BOOLEAN&startDate=STRING&apiKey=STRING") | |
res = conn.getresponse() | |
data = res.read() | |
print(data.decode("utf-8")) | |
label: Python + Python3 | |
components: | |
schemas: | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.AirQuality: | |
type: object | |
properties: | |
name: | |
type: string | |
description: 'Name of the pollen or pollutant. For example: grass, mold, weed, air quality, tree and UV index.' | |
nullable: true | |
value: | |
type: integer | |
description: Value of the given type above. Values associated with mold, grass, weed and tree are in units of parts per cubic meter. Both air quality and UV are indices, so they are unitless. | |
format: int32 | |
nullable: true | |
category: | |
type: string | |
description: 'Category of the air quality or pollution type. For example: low, high, good, moderate, unhealthy, hazardous.' | |
nullable: true | |
categoryValue: | |
type: integer | |
description: Value associated with the air quality or pollution category. These values range from 1 to 6. 1 implying good conditions, 6 implying hazardous conditions. | |
format: int64 | |
type: | |
type: string | |
description: Only exists for air quality. Examples include ozone and particle pollution. | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecast: | |
type: object | |
properties: | |
date: | |
type: string | |
description: 'Date of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss┬▒hh:mm).' | |
format: date-time | |
epochDate: | |
type: integer | |
description: Date of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
sun: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Sun' | |
moon: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Moon' | |
temperature: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityRange' | |
realFeelTemperature: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityPhraseRangeMeasurement' | |
realFeelTemperatureShade: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityPhraseRangeMeasurement' | |
hoursOfSun: | |
type: number | |
description: Hours of sun. | |
format: float | |
nullable: true | |
degreeDaySummary: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DegreeDaySummary' | |
airAndPollen: | |
type: array | |
items: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.AirQuality' | |
description: List of air quality and pollutants. | |
nullable: true | |
day: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Day' | |
night: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Day' | |
sources: | |
type: array | |
items: | |
type: string | |
description: List of forecast sources. | |
nullable: true | |
mobileLink: | |
type: string | |
description: Link to daily forecasts on AccuWeather's mobile site for the requested location. | |
nullable: true | |
link: | |
type: string | |
description: Link to daily forecasts on AccuWeather's free site for the requested location. | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecastSummary: | |
type: object | |
properties: | |
headline: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Headline' | |
dailyForecasts: | |
type: array | |
items: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DailyForecast' | |
description: Forecasts for each 12-hour period. | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Day: | |
type: object | |
properties: | |
icon: | |
type: integer | |
description: "Numeric value representing an icon that matches the forecast.\r\n" | |
format: int32 | |
nullable: true | |
iconPhrase: | |
type: string | |
description: Phrase description of the Icon. | |
nullable: true | |
hasPrecipitation: | |
type: boolean | |
description: Boolean value that indicates the presence of any type of precipitation. Displays true if precipitation is present. | |
precipitationType: | |
type: string | |
description: Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true. | |
nullable: true | |
precipitationIntensity: | |
type: string | |
description: Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true. | |
nullable: true | |
shortPhrase: | |
type: string | |
description: 'Phrase description of the forecast. (Note: AccuWeather attempts to keep this phrase under 30 characters in length, but some languages/weather events may result in a longer phrase length, exceeding 30 characters.).' | |
nullable: true | |
longPhrase: | |
type: string | |
description: 'Phrase description of the forecast. (Note: AccuWeather attempts to keep this phrase under 100 characters in length, but some languages/weather events may result in a longer phrase length, exceeding 100 characters.).' | |
nullable: true | |
precipitationProbability: | |
type: integer | |
description: A percentage value representing the probability of precipitation. | |
format: int32 | |
nullable: true | |
thunderstormProbability: | |
type: integer | |
description: A percentage value representing the probability of a thunderstorm. | |
format: int32 | |
nullable: true | |
rainProbability: | |
type: integer | |
description: A percentage value representing the probability of rain. | |
format: int32 | |
nullable: true | |
snowProbability: | |
type: integer | |
description: A percentage value representing the probability of snow. | |
format: int32 | |
nullable: true | |
iceProbability: | |
type: integer | |
description: A percentage value representing the probability of ice. | |
format: int32 | |
nullable: true | |
wind: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Wind' | |
windGust: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Wind' | |
totalLiquid: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
rain: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
snow: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
ice: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
hoursOfPrecipitation: | |
type: number | |
description: The total number of hours containing any type of precipitation in the indicated 12-hour period. | |
format: float | |
nullable: true | |
hoursOfRain: | |
type: number | |
description: The total number of hours containing rain in the indicated 12-hour period. | |
format: float | |
nullable: true | |
hoursOfSnow: | |
type: number | |
description: The total number of hours containing snowfall in the indicated 12-hour period. | |
format: float | |
nullable: true | |
hoursOfIce: | |
type: number | |
description: The total number of hours containing ice precipitation in the indicated 12-hour period. | |
format: float | |
nullable: true | |
cloudCover: | |
type: integer | |
description: The percentage of cloud cover. | |
format: int32 | |
evapotranspiration: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
solarIrradiance: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
relativeHumidity: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.HumidityRange' | |
wetBulbTemperature: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityRangeAverage' | |
wetBulbGlobeTemperature: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityRangeAverage' | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.DegreeDaySummary: | |
type: object | |
properties: | |
heating: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
cooling: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Headline: | |
type: object | |
properties: | |
effectiveDate: | |
type: string | |
description: 'Datetime displayed in ISO8601 format: yyyy-mm-ddThh:mm:ss┬▒hh:mm that the headline is in effect.' | |
format: date-time | |
effectiveEpochDate: | |
type: integer | |
description: Effective datetime of the headline displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
severity: | |
type: integer | |
description: Severity of the headline displayed as an integer. The lower the number, the greater the severity. | |
format: int32 | |
text: | |
type: string | |
description: Text of the headline. | |
nullable: true | |
category: | |
type: string | |
description: Category of the headline. | |
nullable: true | |
endDate: | |
type: string | |
description: 'Datetime displayed in ISO8601 format: yyyy-mm-ddThh:mm:ss┬▒hh:mm that the headline period ends.' | |
format: date-time | |
nullable: true | |
endEpochDate: | |
type: integer | |
description: End datetime of the headline displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
nullable: true | |
mobileLink: | |
type: string | |
description: Link to extended forecasts on AccuWeather's mobile site for the requested location. | |
nullable: true | |
link: | |
type: string | |
description: Link to extended forecasts on AccuWeather's free site for the requested location. | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.HumidityRange: | |
type: object | |
properties: | |
minimum: | |
type: integer | |
description: The lowest observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period. | |
format: int32 | |
maximum: | |
type: integer | |
description: The highest observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period. | |
format: int32 | |
average: | |
type: integer | |
description: The average observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period. | |
format: int32 | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Moon: | |
type: object | |
properties: | |
rise: | |
type: string | |
description: 'Moon rise displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss┬▒hh:mm).' | |
format: date-time | |
nullable: true | |
epochRise: | |
type: integer | |
description: Moon rise displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
nullable: true | |
set: | |
type: string | |
description: 'Moon set displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss┬▒hh:mm).' | |
format: date-time | |
nullable: true | |
epochSet: | |
type: integer | |
description: Moon set displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
nullable: true | |
phase: | |
type: string | |
description: The phase of the moon. | |
nullable: true | |
age: | |
type: integer | |
description: The number of days since the new moon. | |
format: int32 | |
additionalProperties: false | |
AccuWeather.NetStandard.API.Forecasts.Daily.Entities.OpenAPI.Sun: | |
type: object | |
properties: | |
rise: | |
type: string | |
description: 'Sun rise displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss┬▒hh:mm).' | |
format: date-time | |
nullable: true | |
epochRise: | |
type: integer | |
description: Sun rise displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
nullable: true | |
set: | |
type: string | |
description: 'Sun set displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss┬▒hh:mm).' | |
format: date-time | |
nullable: true | |
epochSet: | |
type: integer | |
description: Sun set displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |
format: int64 | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Direction: | |
type: object | |
properties: | |
degrees: | |
type: integer | |
format: int32 | |
nullable: true | |
localized: | |
type: string | |
nullable: true | |
english: | |
type: string | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity: | |
type: object | |
properties: | |
value: | |
type: number | |
format: float | |
nullable: true | |
unit: | |
type: string | |
nullable: true | |
unitType: | |
type: integer | |
format: int64 | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityPhrase: | |
type: object | |
properties: | |
value: | |
type: number | |
format: float | |
nullable: true | |
unit: | |
type: string | |
nullable: true | |
unitType: | |
type: integer | |
format: int64 | |
phrase: | |
type: string | |
nullable: true | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityPhraseRangeMeasurement: | |
type: object | |
properties: | |
minimum: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityPhrase' | |
maximum: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityPhrase' | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityRange: | |
type: object | |
properties: | |
minimum: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
maximum: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.QuantityRangeAverage: | |
type: object | |
properties: | |
minimum: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
maximum: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
average: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
additionalProperties: false | |
AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Wind: | |
type: object | |
properties: | |
speed: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Quantity' | |
direction: | |
$ref: '#/components/schemas/AccuWeather.NetStandard.Common.OpenAPISpecification.Entities.Direction' | |
additionalProperties: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment