Skip to content

Commit 55cdb90

Browse files
committed
Resources config
1 parent d751306 commit 55cdb90

File tree

6 files changed

+103
-0
lines changed

6 files changed

+103
-0
lines changed

resources.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
yaml_location: yaml
2+
api_settings: ApiClients\Client\WeatherUnderground\ApiSettings
3+
src:
4+
path: src/Resource
5+
namespace: ApiClients\Client\WeatherUnderground\Resource
6+
tests:
7+
path: tests/Resource
8+
namespace: ApiClients\Tests\Client\WeatherUnderground\Resource

yaml/condition.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
class: Condition
2+
properties:
3+
image:
4+
type: Image
5+
annotations:
6+
nested: Image
7+
display_location:
8+
type: Location
9+
annotations:
10+
nested: Location
11+
observation_location:
12+
type: Location
13+
annotations:
14+
nested: Location
15+
estimated: array
16+
station_id: string
17+
observation_time: string
18+
observation_time_rfc822: string
19+
observation_epoch: string
20+
local_time_rfc822: string
21+
local_epoch: string
22+
local_tz_short: string
23+
local_tz_long: string
24+
local_tz_offset: string
25+
weather: string
26+
temperature_string: string
27+
temp_f: float
28+
temp_c: float
29+
relative_humidity: string
30+
wind_string: string
31+
wind_dir: string
32+
wind_degrees: string
33+
wind_mph: string
34+
wind_gust_mph: string
35+
wind_kph: string
36+
wind_gust_kph: string
37+
pressure_mb: string
38+
pressure_in: string
39+
pressure_trend: string
40+
dewpoint_string: string
41+
dewpoint_f: int
42+
dewpoint_c: int
43+
heat_index_string: string
44+
heat_index_f: string
45+
heat_index_c: string
46+
windchill_string: string
47+
windchill_f: string
48+
windchill_c: string
49+
feelslike_string: string
50+
feelslike_f: string
51+
feelslike_c: string
52+
visibility_mi: string
53+
visibility_km: string
54+
solarradiation: string
55+
UV: string
56+
precip_1hr_string: string
57+
precip_1hr_in: string
58+
precip_1hr_metric: string
59+
precip_today_string: string
60+
precip_today_in: string
61+
precip_today_metric: string
62+
icon: string
63+
icon_url: string
64+
forecast_url: string
65+
history_url: string
66+
ob_url: string
67+
nowcast: string

yaml/image.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class: Image
2+
properties:
3+
url: string
4+
title: string
5+
link: string

yaml/location.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
class: Location
2+
properties:
3+
full: string
4+
city: string
5+
state: string
6+
state_name: string
7+
country: string
8+
country_iso3166: string
9+
zip: string
10+
magic: string
11+
wmo: string
12+
latitude: string
13+
longitude: string
14+
elevation: string

yaml/response.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class: Response
2+
properties:
3+
version: string
4+
termsofService: string
5+
features: array

yaml/time.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class: Time
2+
properties:
3+
hour: string
4+
minute: string

0 commit comments

Comments
 (0)