I read about a growing number of people that now have access to the new Wunderground API so I figured I'd try it again to see. https://www.wunderground.com/member/api-keys is the correct URL, right? Cuz it just keeps taking me to a login page over and over again.
i cant help much its not a template problem more of a wu problem but looking around the forum i see reference to it being realated to browser or password change at some stage go here and have a browse through
http://www.wxforum.net/index.php?topic=36207.msg372335;topicseen#msg372335i only primarily use safari and only ever use the same login email/password i setup in jan 2015 ive never changed it but i cant confirm anyones findings as i just logged in and voila ..have a browse through the thread mentioned might have some ideas ,solutions..ps i dont upload to wu have not since jan 2017 ..
a problem that is related to,the api some locations at around 3pm local time return a null for todays or 1st period of the forecast not every location but verified using istanbul lat lon .ive added a fallback to overcome the null basically if null switch to next period ..
output containing nulls below from this afternoon
{"dayOfWeek":["Friday","Saturday","Sunday","Monday","Tuesday","Wednesday"],"expirationTimeUtc":[1551446216,1551446216,1551446216,1551446216,1551446216,1551446216],"moonPhase":["Waning Crescent","Waning Crescent","Waning Crescent","Waning Crescent","Waning Crescent","New Moon"],"moonPhaseCode":["WNC","WNC","WNC","WNC","WNC","N"],"moonPhaseDay":[25,25,26,27,28,0],"moonriseTimeLocal":["2019-03-01T04:33:51+0300","2019-03-02T05:20:59+0300","2019-03-03T06:03:25+0300","2019-03-04T06:40:48+0300","2019-03-05T07:13:23+0300","2019-03-06T07:43:11+0300"],"moonriseTimeUtc":[1551404031,1551493259,1551582205,1551670848,1551759203,1551847391],"moonsetTimeLocal":["2019-03-01T14:09:50+0300","2019-03-02T15:01:35+0300","2019-03-03T15:56:26+0300","2019-03-04T16:53:22+0300","2019-03-05T17:50:58+0300","2019-03-06T18:49:31+0300"],"moonsetTimeUtc":[1551438590,1551528095,1551617786,1551707602,1551797458,1551887371],"narrative":["A few clouds. Low 7C.","Mostly cloudy. Highs 12 to 14C and lows 4 to 6C.","Partly cloudy. Highs 7 to 9C and lows 1 to 3C.","Sunshine. Highs 9 to 11C and lows 5 to 7C.","A few clouds. Highs 12 to 14C and lows 8 to 10C.","Times of sun and clouds. Highs 13 to 15C and lows 8 to 10C."],"qpf":[0.0,0.0,0.0,0.0,0.0,0.0],"qpfSnow":[0.0,0.0,0.0,0.0,0.0,0.0],"sunriseTimeLocal":["2019-03-01T07:40:36+0300","2019-03-02T07:39:03+0300","2019-03-03T07:37:29+0300","2019-03-04T07:35:54+0300","2019-03-05T07:34:19+0300","2019-03-06T07:32:44+0300"],"sunriseTimeUtc":[1551415236,1551501543,1551587849,1551674154,1551760459,1551846764],"sunsetTimeLocal":["2019-03-01T18:56:20+0300","2019-03-02T18:57:28+0300","2019-03-03T18:58:36+0300","2019-03-04T18:59:43+0300","2019-03-05T19:00:50+0300","2019-03-06T19:01:56+0300"],"sunsetTimeUtc":[1551455780,1551542248,1551628716,1551715183,1551801650,1551888116],"temperatureMax":[null,13,8,10,13,14],"temperatureMin":[7,5,2,6,9,9],"validTimeLocal":["2019-03-01T07:00:00+0300","2019-03-02T07:00:00+0300","2019-03-03T07:00:00+0300","2019-03-04T07:00:00+0300","2019-03-05T07:00:00+0300","2019-03-06T07:00:00+0300"],"validTimeUtc":[1551412800,1551499200,1551585600,1551672000,1551758400,1551844800],"daypart":[{"cloudCover":[
null,10,90,86,45,8,0,11,19,54,43,54],"dayOrNight":[
null,"N","D","N","D","N","D","N","D","N","D","N"],"daypartName":[
null,"Tonight","Tomorrow","Tomorrow night","Sunday","Sunday night","Monday","Monday night","Tuesday","Tuesday night","Wednesday","Wednesday night"],"iconCode":[null,33,26,26,30,33,32,31,34,29,30,29],"iconCodeExtend":[null,3300,2600,2600,3000,3300,3200,3100,3400,2900,3000,2900],"narrative":[
null,"Clear to partly cloudy. Low 7C. Winds WSW at 15 to 25 km/h.","Overcast. High 13C. Winds WNW at 15 to 25 km/h.","Cloudy. Low near 5C. Winds NE at 15 to 30 km/h.","Partly cloudy. High 8C. Winds NE at 15 to 30 km/h.","Clear skies. Low 2C. Winds NNE at 15 to 25 km/h.","Sunny. High near 10C. Winds WSW at 10 to 15 km/h.","A mostly clear sky. Low 6C. Winds SW at 10 to 15 km/h.","Generally sunny despite a few afternoon clouds. High 13C. Winds SW at 15 to 30 km/h.","Partly cloudy early with increasing clouds overnight. Low 9C. Winds SW at 15 to 25 km/h.","Intervals of clouds and sunshine. High 14C. Winds WSW at 15 to 25 km/h.","Partly cloudy skies. Low 9C. Winds SW at 10 to 15 km/h."],"precipChance":[
null,10,20,10,10,0,0,0,0,10,10,10],"precipType":[
null,"rain","rain","rain","rain","precip","rain","rain","rain","rain","rain","rain"],"qpf":[null,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"qpfSnow":[null,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"qualifierCode":[null,null,null,null,null,null,null,null,null,null,null,null],"qualifierPhrase":[null,null,null,null,null,null,null,null,null,null,null,null],"relativeHumidity":[
null,79,78,83,65,74,63,72,63,73,71,81],"snowRange":[null,"","","","","","","","","","",""],"temperature":[
null,7,13,5,8,2,10,6,13,9,14,9],"temperatureHeatIndex":[null,14,13,9,8,6,9,7,12,11,14,12],"temperatureWindChill":[null,6,6,2,2,0,1,4,4,7,8,8],"thunderCategory":[
null,"No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder"],"thunderIndex":[null,0,0,0,0,0,0,0,0,0,0,0],"uvDescription":[
null,"Low","Low","Low","Moderate","Low","Moderate","Low","Moderate","Low","Moderate","Low"],"uvIndex":
[null,0,2,0,4,0,4,0,4,0,4,0],"windDirection":[
null,257,288,39,38,30,249,216,221,230,240,235],"windDirectionCardinal":[
null,"WSW","WNW","NE","NE","NNE","WSW","SW","SW","SW","WSW","SW"],"windPhrase":[null,"Winds WSW at 15 to 25 km/h.","Winds WNW at 15 to 25 km/h.","Winds NE at 15 to 30 km/h.","Winds NE at 15 to 30 km/h.","Winds NNE at 15 to 25 km/h.","Winds WSW at 10 to 15 km/h.","Winds SW at 10 to 15 km/h.","Winds SW at 15 to 30 km/h.","Winds SW at 15 to 25 km/h.","Winds WSW at 15 to 25 km/h.","Winds SW at 10 to 15 km/h."],"windSpeed":[null,17,20,24,24,19,12,13,22,19,18,16],"wxPhraseLong":[null,"Mostly Clear","Cloudy","Cloudy","Partly Cloudy","Mostly Clear","Sunny","Clear","Mostly Sunny","Partly Cloudy","Partly Cloudy","Partly Cloudy"],"wxPhraseShort":[null,"M Clear","Cloudy","Cloudy","P Cloudy","M Clear","Sunny","Clear","M Sunny","P Cloudy","P Cloudy","P Cloudy"]}]}
brian