for those interested in going the API route, I looked into it back in
2013 when there was a new redesign, and it didn't seem too onerous.  It
looks like I ran into a few problems getting libraries working (JSON
specifically) on my linux box. Not sure if that was a sandbox issue or a
squeeze issue - I'm running in a Linux VM on a windows machine since
it's more stable that way for me.

The problems (for me) of diving into this are:
1. Lack of understanding how the plugin infrastructure works 
2. Unsure what the plugin is doing at a block level
3. Lack of Perl familiarity, and the general PTSD from previous perl
experiences

I guess I have a lot lacking. :-).

>From my memory, it is using an http request to get a url that has some
parameters filled in from the variables in the config file (zip code
mostly). I'm not sure if it is parsing with Regular expressions or not,
but it's pattern matching for variables.  It doesn't fallback to WU if
something is missing.  I believe it's all wu or all wc data.

The biggest complication to using the API is you would also have to
change the config process to add the new api key variable (more work, i
don't know how to do it), or hard code it in the plugin that has to be
replaced after installation (pain but easier to do for me :-))

If someone could fill in some of the details on how it is supposed to be
working today (there's a chunk of code on line X that does Y) we could
break down the problem to more manageable pieces.

With smartphones being ubiquitous, you'd think this was unnecessary, but
glance able information is so important and useful still!

-Dan
PS: last time I looked into this back in 2013, I think we collectively
summoned Greg with out hopes and desires.  He's a nice guy to maintain
this old code for us die-hards old timers!


------------------------------------------------------------------------
plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to