|
1 | 1 | # Entities
|
2 | 2 |
|
3 | 3 | - [One Call](#one-call)
|
4 |
| - - [Alert](#alert) |
5 |
| - - [MinuteForecast](#minuteforecast) |
6 |
| - - [OneCall](#onecall) |
7 | 4 | - [Weather](#weather)
|
8 |
| - - [WeatherAggregate](#weatheraggregate) |
9 |
| - - [WeatherLocation](#weatherlocation) |
| 5 | + - [WeatherMoment](#weathermoment) |
| 6 | + - [WeatherSummary](#weathersummary) |
| 7 | + - [WeatherData](#weatherdata) |
| 8 | + - [MinuteData](#minutedata) |
| 9 | + - [HourData](#hourdata) |
| 10 | + - [DayData](#daydata) |
| 11 | + - [Alert](#alert) |
| 12 | + - [MoonPhase](#moonphase) |
| 13 | + - [Temperature](#temperature) |
10 | 14 | - [Weather](#weather-1)
|
11 | 15 | - [Weather](#weather-2)
|
12 | 16 | - [WeatherCollection](#weathercollection)
|
|
30 | 34 |
|
31 | 35 | ## One Call
|
32 | 36 |
|
33 |
| -### Alert |
34 |
| - |
35 |
| -- `getSenderName()`: `string` |
36 |
| -- `getEventName()`: `string` |
37 |
| -- `getStartsAt()`: `\DateTimeImmutable` |
38 |
| -- `getEndsAt()`: `\DateTimeImmutable` |
39 |
| -- `getDescription()`: `string` |
40 |
| -- `getTags()`: `array` |
41 |
| - |
42 |
| -### MinuteForecast |
43 |
| - |
44 |
| -- `getDateTime()`: `\DateTimeImmutable` |
45 |
| -- `getPrecipitation()`: `float` |
46 |
| - |
47 |
| -### OneCall |
| 37 | +### Weather |
48 | 38 |
|
49 | 39 | - `getCoordinate()`: [`Coordinate`](#coordinate)
|
50 | 40 | - `getTimezone()`: [`Timezone`](#timezone)
|
51 |
| -- `getCurrent()`: [`Weather`](#weather) |
52 |
| -- `getMinutelyForecast()`: [`?MinuteForecast[]`](#minuteforecast) |
53 |
| -- `getHourlyForecast()`: [`Weather[]`](#weather) |
54 |
| -- `getDailyForecast()`: [`Weather[]`](#weather) |
| 41 | +- `getCurrent()`: [`WeatherData`](#weatherdata) |
| 42 | +- `getMinutelyForecast()`: [`?MinuteData[]`](#minutedata) |
| 43 | +- `getHourlyForecast()`: [`HourData[]`](#hourdata) |
| 44 | +- `getDailyForecast()`: [`DayData[]`](#daydata) |
55 | 45 | - `getAlerts()`: [`?Alert[]`](#alert)
|
56 | 46 |
|
57 |
| -### Weather |
| 47 | +### WeatherMoment |
58 | 48 |
|
| 49 | +- `getCoordinate()`: [`Coordinate`](#coordinate) |
| 50 | +- `getTimezone()`: [`Timezone`](#timezone) |
59 | 51 | - `getDateTime()`: `\DateTimeImmutable`
|
60 |
| -- `getSunriseAt()`: `?\DateTimeImmutable` |
61 |
| -- `getSunsetAt()`: `?\DateTimeImmutable` |
62 |
| -- `getMoonriseAt()`: `?\DateTimeImmutable` |
63 |
| -- `getMoonsetAt()`: `?\DateTimeImmutable` |
64 |
| -- `getMoonPhase()`: [`?MoonPhase`](#moonphase) |
65 |
| -- `getTemperature()`: `float`|[`Temperature`](#temperature) |
66 |
| -- `getTemperatureFeelsLike()`: `float`|[`Temperature`](#temperature) |
67 |
| -- `getDescription()`: `?string` |
| 52 | +- `getTemperature()`: `float` |
| 53 | +- `getTemperatureFeelsLike()`: `float` |
68 | 54 | - `getAtmosphericPressure()`: `int`
|
69 | 55 | - `getHumidity()`: `int`
|
70 |
| -- `getDewPoint()`: `?float` |
| 56 | +- `getDewPoint()`: `float` |
71 | 57 | - `getUltraVioletIndex()`: `?float`
|
72 | 58 | - `getCloudiness()`: `int`
|
73 | 59 | - `getVisibility()`: `?int`
|
74 | 60 | - `getWind()`: [`Wind`](#wind)
|
75 |
| -- `getPrecipitationProbability()`: `?int` |
76 |
| -- `getRain()`: `null`|`float`|[`Rain`](#rain) |
77 |
| -- `getSnow()`: `null`|`float`|[`Snow`](#snow) |
78 |
| -- `getWeatherConditions()`: [`WeatherCondition[]`](#weathercondition) |
| 61 | +- `getConditions()`: [`Condition[]`](#condition) |
| 62 | +- `getSummary()`: `?string` |
| 63 | +- `getRainVolume()`: `?float` |
| 64 | +- `getSnowVolume()`: `?float` |
| 65 | +- `getMoonPhase()`: [`?MoonPhase`](#moonphase) |
| 66 | +- `getSunriseAt()`: `?\DateTimeImmutable` |
| 67 | +- `getSunsetAt()`: `?\DateTimeImmutable` |
| 68 | +- `getMoonriseAt()`: `?\DateTimeImmutable` |
| 69 | +- `getMoonsetAt()`: `?\DateTimeImmutable` |
79 | 70 |
|
80 |
| -### WeatherAggregate |
| 71 | +### WeatherSummary |
81 | 72 |
|
82 | 73 | - `getCoordinate()`: [`Coordinate`](#coordinate)
|
83 | 74 | - `getTimezone()`: [`Timezone`](#timezone)
|
|
89 | 80 | - `getAtmosphericPressure()`: `int`
|
90 | 81 | - `getWind()`: [`Wind`](#wind)
|
91 | 82 |
|
92 |
| -### WeatherLocation |
| 83 | +### WeatherData |
93 | 84 |
|
94 |
| -- `getCoordinate()`: [`Coordinate`](#coordinate) |
95 |
| -- `getTimezone()`: [`Timezone`](#timezone) |
96 | 85 | - `getDateTime()`: `\DateTimeImmutable`
|
| 86 | +- `getTemperature()`: `float` |
| 87 | +- `getTemperatureFeelsLike()`: `float` |
| 88 | +- `getAtmosphericPressure()`: `int` |
| 89 | +- `getVisibility()`: `?int` |
| 90 | +- `getHumidity()`: `int` |
| 91 | +- `getDewPoint()`: `float` |
| 92 | +- `getUltraVioletIndex()`: `?float` |
| 93 | +- `getCloudiness()`: `int` |
| 94 | +- `getWind()`: [`Wind`](#wind) |
| 95 | +- `getConditions()`: [`Condition[]`](#condition) |
| 96 | +- `getRainVolume()`: `?float` |
| 97 | +- `getSnowVolume()`: `?float` |
97 | 98 | - `getSunriseAt()`: `?\DateTimeImmutable`
|
98 | 99 | - `getSunsetAt()`: `?\DateTimeImmutable`
|
99 |
| -- `getMoonriseAt()`: `?\DateTimeImmutable` |
100 |
| -- `getMoonsetAt()`: `?\DateTimeImmutable` |
101 |
| -- `getMoonPhase()`: [`?MoonPhase`](#moonphase) |
102 |
| -- `getTemperature()`: `float`|[`Temperature`](#temperature) |
103 |
| -- `getTemperatureFeelsLike()`: `float`|[`Temperature`](#temperature) |
104 |
| -- `getDescription()`: `?string` |
| 100 | + |
| 101 | +### MinuteData |
| 102 | + |
| 103 | +- `getDateTime()`: `\DateTimeImmutable` |
| 104 | +- `getPrecipitation()`: `float` |
| 105 | + |
| 106 | +### HourData |
| 107 | + |
| 108 | +- `getDateTime()`: `\DateTimeImmutable` |
| 109 | +- `getTemperature()`: `float` |
| 110 | +- `getTemperatureFeelsLike()`: `float` |
| 111 | +- `getVisibility()`: `int` |
| 112 | +- `getPrecipitationProbability()`: `int` |
105 | 113 | - `getAtmosphericPressure()`: `int`
|
106 | 114 | - `getHumidity()`: `int`
|
107 |
| -- `getDewPoint()`: `?float` |
| 115 | +- `getDewPoint()`: `float` |
108 | 116 | - `getUltraVioletIndex()`: `?float`
|
109 | 117 | - `getCloudiness()`: `int`
|
110 |
| -- `getVisibility()`: `?int` |
111 | 118 | - `getWind()`: [`Wind`](#wind)
|
112 |
| -- `getPrecipitationProbability()`: `?int` |
113 |
| -- `getRain()`: `null`|`float`|[`Rain`](#rain) |
114 |
| -- `getSnow()`: `null`|`float`|[`Snow`](#snow) |
115 |
| -- `getWeatherConditions()`: [`WeatherCondition[]`](#weathercondition) |
| 119 | +- `getConditions()`: [`Condition[]`](#condition) |
| 120 | +- `getRainVolume()`: `?float` |
| 121 | +- `getSnowVolume()`: `?float` |
| 122 | + |
| 123 | +### DayData |
| 124 | + |
| 125 | +- `getDateTime()`: `\DateTimeImmutable` |
| 126 | +- `getTemperature()`: [`Temperature`](#temperature) |
| 127 | +- `getTemperatureFeelsLike()`: [`Temperature`](#temperature) |
| 128 | +- `getPrecipitationProbability()`: `int` |
| 129 | +- `getAtmosphericPressure()`: `int` |
| 130 | +- `getHumidity()`: `int` |
| 131 | +- `getDewPoint()`: `float` |
| 132 | +- `getUltraVioletIndex()`: `?float` |
| 133 | +- `getCloudiness()`: `int` |
| 134 | +- `getWind()`: [`Wind`](#wind) |
| 135 | +- `getConditions()`: [`Condition[]`](#condition) |
| 136 | +- `getRainVolume()`: `?float` |
| 137 | +- `getSnowVolume()`: `?float` |
| 138 | +- `getSummary()`: `string` |
| 139 | +- `getMoonPhase()`: [`MoonPhase`](#moonphase) |
| 140 | +- `getSunriseAt()`: `\DateTimeImmutable` |
| 141 | +- `getSunsetAt()`: `\DateTimeImmutable` |
| 142 | +- `getMoonriseAt()`: `\DateTimeImmutable` |
| 143 | +- `getMoonsetAt()`: `\DateTimeImmutable` |
| 144 | + |
| 145 | +### Alert |
| 146 | + |
| 147 | +- `getSenderName()`: `string` |
| 148 | +- `getEventName()`: `string` |
| 149 | +- `getStartsAt()`: `\DateTimeImmutable` |
| 150 | +- `getEndsAt()`: `\DateTimeImmutable` |
| 151 | +- `getDescription()`: `string` |
| 152 | +- `getTags()`: `array` |
| 153 | + |
| 154 | +### MoonPhase |
| 155 | + |
| 156 | +- `getValue()`: `float` |
| 157 | +- `getName()`: `string` |
| 158 | +- `getSystemName()`: `string` |
| 159 | + |
| 160 | +### Temperature |
| 161 | + |
| 162 | +- `getMorning()`: `float` |
| 163 | +- `getDay()`: `float` |
| 164 | +- `getEvening()`: `float` |
| 165 | +- `getNight()`: `float` |
| 166 | +- `getMin()`: `?float` |
| 167 | +- `getMax()`: `?float` |
116 | 168 |
|
117 | 169 | ## Weather
|
118 | 170 |
|
|
138 | 190 |
|
139 | 191 | - `getNumResults()`: `int`
|
140 | 192 | - `getLocation()`: [`Location`](#location)
|
141 |
| -- `getData()`: [`WeatherData[]`](#weatherdata) |
| 193 | +- `getData()`: [`WeatherData[]`](#weatherdata-1) |
142 | 194 |
|
143 | 195 | ### WeatherData
|
144 | 196 |
|
|
240 | 292 | - `getSunriseAt()`: `?\DateTimeImmutable`
|
241 | 293 | - `getSunsetAt()`: `?\DateTimeImmutable`
|
242 | 294 |
|
243 |
| -### MoonPhase |
244 |
| - |
245 |
| -- `getValue()`: `float` |
246 |
| -- `getName()`: `string` |
247 |
| -- `getSysName()`: `string` |
248 |
| - |
249 |
| -### Temperature |
250 |
| - |
251 |
| -- `getMorning()`: `float` |
252 |
| -- `getDay()`: `float` |
253 |
| -- `getEvening()`: `float` |
254 |
| -- `getNight()`: `float` |
255 |
| -- `getMin()`: `?float` |
256 |
| -- `getMax()`: `?float` |
257 |
| - |
258 | 295 | ### Timezone
|
259 | 296 |
|
260 | 297 | - `getOffset()`: `int`
|
|
0 commit comments