Skip to content

Commit

Permalink
Merge pull request #20 from solufit/13-anemoseventtype-struct
Browse files Browse the repository at this point in the history
13 anemoseventtype struct
  • Loading branch information
Walkmana-25 authored Oct 3, 2024
2 parents 0db75ba + 7614956 commit a82555f
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions struct.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
package libanemos

type Forecast struct {
weather_today string
weather_tommorow string
max_temp int
min_temp int
rain_percent_now int
rain_percent_6h int
rain_percent_12h int
rain_percent_18h int
rain_percent_24h int
publishing_office string
reported_time string
}

type Earthquake struct {
event_id string
entry_id string
editorial_office string
publishing_office string
category string
datetime string
headline string
hypocenter string
region_code string
max_int string
magnitude string
}

type Warning struct {
entryid string
editorial_office string
publishing_office string
category string
datetime string
headline string
pref string
}

type WeatherForecast struct {
id string
object_type string
areacode string
title string
status string
detail Forecast
reported_at string
info_domain string
info_object_id string
}

type WeatherEarthquake struct {
id string
object_type string
areacode string
title string
status string
detail Earthquake
reported_at string
info_domain string
info_object_id string
}

type WeatherWarning struct {
id string
object_type string
areacode string
title string
status string
detail Warning
reported_at string
info_domain string
info_object_id string
}

0 comments on commit a82555f

Please sign in to comment.