PeterGV wrote: > Brilliant, *tcutting*. Absolutely wonderful job. Bravo for your > service to the community and thank you! > > It's cool that you wrote this with no additional libraries, either. > Makes it super-easy to install/use. > > Please correct me if I'm wrong, but people should be aware that there > are *two* requests made for each period. One for "conditions" and other > for "10dayforecast" -- so, you don't want to update your wx info any > more frequently than once ever seven minutes or so, or you'll hit the > free limit of your API. I'm currently using a forecast interval of 10 > minutes with *tcutting*'s code. > > Note that you can see the API data (how frequently you've invoked the > API) on the Wunderground API page. > > Anyone who's interested in advancing *tcutting*'s work, in case you're > not aware, you can combine multiple requests into one as follows: > > http://api.wunderground.com/api/<key>/conditions/forecast10day/q/03057.json > > I've been assuming this counts as one API invocation (because it's all > done in one call) for the purposes of metering... but I'm not certain. > > Now that *tcutting *has blessed us with a short-term solution that meets > many of my requirements, I'm going to chill about this for a while. > Then I'll determine whether I help advance *tcutting*'s work to date, or > continue down my own path (which is *significantly* more disruptive to > the structure of Greg's original code). > > One final time for now: Thank you *tcutting*. Thanks for your work on > this problem, and thanks for sharing.
I realized late that you can combine multiple "feature" queries into single call. That's an obvious area for improvement. I was worried about the number of queries per day. Sent from my HTC6525LVW using Tapatalk ------------------------------------------------------------------------ tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins