Skip to content
Permalink
Browse files

update yahoo api

close #1
  • Loading branch information...
Mariosmsk committed Apr 8, 2019
1 parent cb1aa93 commit 63edb65bc9a4ec264165d3f585b678836700b9af
Showing with 218 additions and 175 deletions.
  1. +1 −18 QWeather.geojson
  2. +196 −151 QWeather.py
  3. +1 −1 README.md
  4. +8 −5 metadata.txt
  5. +12 −0 weather.ui
@@ -1,18 +1 @@
{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [{ "type": "Feature", "properties": { "City": "Subotica", "Temp": "26", "Direction": "0 degrees", "Speed": "11.27 km/h", "Humidity": "53 %", "Pressure": "33965.49 hPa", "Visibility": "25.91 km", "Sunrise": "4:51 am", "Sunset": "8:30 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/28.gif", "Country": "Serbia", "Region": " Severna Bachka", "Lon": "19.66609", "Date": "Thu, 07 Jun 2018 02:00 PM CEST", "Lat": "46.09795",}, "geometry": { "type": "Point", "coordinates": [19.66609,46.09795]}
},
{ "type": "Feature", "properties": { "City": "Kragujevac", "Temp": "28", "Direction": "125 degrees", "Speed": "11.27 km/h", "Humidity": "47 %", "Pressure": "33186.62 hPa", "Visibility": "25.91 km", "Sunrise": "4:54 am", "Sunset": "8:17 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/34.gif", "Country": "Serbia", "Region": " Shumadija", "Lon": "20.91667", "Date": "Thu, 07 Jun 2018 01:00 PM CEST", "Lat": "44.01667",}, "geometry": { "type": "Point", "coordinates": [20.91667,44.01667]}
},
{ "type": "Feature", "properties": { "City": "Petrovgrad", "Temp": "28", "Direction": "180 degrees", "Speed": "11.27 km/h", "Humidity": "49 %", "Pressure": "34100.95 hPa", "Visibility": "25.91 km", "Sunrise": "4:51 am", "Sunset": "8:24 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/34.gif", "Country": "Serbia", "Region": " Srednji Banat", "Lon": "20.3934", "Date": "Thu, 07 Jun 2018 01:00 PM CEST", "Lat": "45.3801",}, "geometry": { "type": "Point", "coordinates": [20.3934,45.3801]}
},
{ "type": "Feature", "properties": { "City": "Ipek", "Temp": "22", "Direction": "80 degrees", "Speed": "17.70 km/h", "Humidity": "55 %", "Pressure": "30612.97 hPa", "Visibility": "25.91 km", "Sunrise": "5:1 am", "Sunset": "8:15 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/26.gif", "Country": "Serbia", "Region": " Pech", "Lon": "20.297239", "Date": "Thu, 07 Jun 2018 01:00 PM CEST", "Lat": "42.653271",}, "geometry": { "type": "Point", "coordinates": [20.297239,42.653271]}
},
{ "type": "Feature", "properties": { "City": "Nis", "Temp": "30", "Direction": "55 degrees", "Speed": "11.27 km/h", "Humidity": "44 %", "Pressure": "33186.62 hPa", "Visibility": "25.91 km", "Sunrise": "4:52 am", "Sunset": "8:11 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/30.gif", "Country": "Serbia", "Region": " Nishava", "Lon": "21.8957", "Date": "Thu, 07 Jun 2018 02:00 PM CEST", "Lat": "43.3209",}, "geometry": { "type": "Point", "coordinates": [21.8957,43.3209]}
},
{ "type": "Feature", "properties": { "City": "Novi Sad", "Temp": "27", "Direction": "70 degrees", "Speed": "6.44 km/h", "Humidity": "58 %", "Pressure": "33863.90 hPa", "Visibility": "25.91 km", "Sunrise": "4:53 am", "Sunset": "8:26 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/30.gif", "Country": "Serbia", "Region": " Juzhna Bachka", "Lon": "19.841471", "Date": "Thu, 07 Jun 2018 01:00 PM CEST", "Lat": "45.25605",}, "geometry": { "type": "Point", "coordinates": [19.841471,45.25605]}
},
{ "type": "Feature", "properties": { "City": "Belgrade", "Temp": "27", "Direction": "105 degrees", "Speed": "11.27 km/h", "Humidity": "55 %", "Pressure": "33931.63 hPa", "Visibility": "25.91 km", "Sunrise": "4:53 am", "Sunset": "8:22 pm", "Unit": "C", "Icon": "http://l.yimg.com/a/i/us/we/52/34.gif", "Country": "Serbia", "Region": " Beograd", "Lon": "20.46414", "Date": "Thu, 07 Jun 2018 01:00 PM CEST", "Lat": "44.811871",}, "geometry": { "type": "Point", "coordinates": [20.46414,44.811871]}
},

]
}
{"type": "FeatureCollection", "name": "QWeather", "crs": {"type": "name", "properties": {"name": "crs:OGC:1.3:CRS84"}}, "features": [{"type": "Feature", "properties": {"City": "Larnaca", "Temp": "21", "Direction": "155 degrees", "Speed": "12.0 km/h", "Humidity": "71 %", "Pressure": "1002.0 hPa", "Visibility": "16.1 km", "Sunrise": "6:22 am", "Sunset": "7:13 pm", "Unit": "C", "Icon": "", "Country": "Cyprus", "Region": " Larnaca District", "Lon": "33.63821", "Date": "Mon Apr 8 17:00:00 2019", "Lat": "34.920021"}, "geometry": {"coordinates": [33.63821, 34.920021], "type": "Point"}}, {"type": "Feature", "properties": {"City": "Paphos", "Temp": "18", "Direction": "285 degrees", "Speed": "6.0 km/h", "Humidity": "85 %", "Pressure": "994.0 hPa", "Visibility": "16.1 km", "Sunrise": "6:27 am", "Sunset": "7:17 pm", "Unit": "C", "Icon": "", "Country": "Cyprus", "Region": " Paphos District", "Lon": "32.434078", "Date": "Mon Apr 8 17:00:00 2019", "Lat": "34.777161"}, "geometry": {"coordinates": [32.434078, 34.777161], "type": "Point"}}, {"type": "Feature", "properties": {"City": "Limassol", "Temp": "20", "Direction": "225 degrees", "Speed": "7.0 km/h", "Humidity": "82 %", "Pressure": "995.0 hPa", "Visibility": "16.1 km", "Sunrise": "6:25 am", "Sunset": "7:15 pm", "Unit": "C", "Icon": "", "Country": "Cyprus", "Region": " Limassol District", "Lon": "33.051109", "Date": "Mon Apr 8 17:00:00 2019", "Lat": "34.683338"}, "geometry": {"coordinates": [33.051109, 34.683338], "type": "Point"}}, {"type": "Feature", "properties": {"City": "Nicosia", "Temp": "23", "Direction": "135 degrees", "Speed": "8.0 km/h", "Humidity": "49 %", "Pressure": "985.0 hPa", "Visibility": "16.1 km", "Sunrise": "6:23 am", "Sunset": "7:14 pm", "Unit": "C", "Icon": "", "Country": "Cyprus", "Region": " Nicosia District", "Lon": "33.36898", "Date": "Mon Apr 8 17:00:00 2019", "Lat": "35.170952"}, "geometry": {"coordinates": [33.36898, 35.170952], "type": "Point"}}, {"type": "Feature", "properties": {"City": "Kyrenia", "Temp": "23", "Direction": "55 degrees", "Speed": "7.0 km/h", "Humidity": "55 %", "Pressure": "990.0 hPa", "Visibility": "16.1 km", "Sunrise": "6:23 am", "Sunset": "7:14 pm", "Unit": "C", "Icon": "", "Country": "Cyprus", "Region": " Kyrenia District", "Lon": "33.332951", "Date": "Mon Apr 8 17:00:00 2019", "Lat": "35.325981"}, "geometry": {"coordinates": [33.332951, 35.325981], "type": "Point"}}, {"type": "Feature", "properties": {"City": "Famagusta", "Temp": "21", "Direction": "80 degrees", "Speed": "10.0 km/h", "Humidity": "64 %", "Pressure": "1006.0 hPa", "Visibility": "16.1 km", "Sunrise": "6:21 am", "Sunset": "7:12 pm", "Unit": "C", "Icon": "", "Country": "Cyprus", "Region": " Famagusta District", "Lon": "33.955399", "Date": "Mon Apr 8 17:00:00 2019", "Lat": "35.113689"}, "geometry": {"coordinates": [33.955399, 35.113689], "type": "Point"}}]}
Oops, something went wrong.

0 comments on commit 63edb65

Please sign in to comment.
You can’t perform that action at this time.