Comment on How To Parse JSON Data To A Human Readable Format

<- View Parent
obdurant@lemmy.zip ⁨22⁩ ⁨hours⁩ ago

Okay, I see what you’re going for and from another comment that you want to avoid the built-in weather app that dashboard has. I agree that the iframe should work for what you want.

In this case I would make a webpage you can host locally, ignoring the dashboard aspect for a moment, and have it format the data how you want it to show up. If you want to use this as an excuse to tinker with Python and learn a new project I would probably follow the tutorial for Flask on setting up a simple webapp. I imagine by the end of it you could use the example project and tweak it somewhat painlessly to render what you want. Since you already have the ability to get the weather JSON you’ll just need to link the two up.

Anyway, once you have the page working properly you’ll have something to put in the iframe.

source
Sort:hotnewtop