Plugin to pull current weather from OpenWeather API

Wanted a quick way to reference current weather in morning/evening notes. Was curious about Logseq’s plugin API, so tried my hand at writing a plugin. Even though I’m new to Logseq and TypeScript it was not too difficult to find my way around. Thank you to everyone involved in making Logseq awesome :slight_smile:

Here’s what I wrote so far, would love feedback on how I could write more pragmatic code for the plugin: