A Plugin Rookie - Basics

Trying to figure out how to create plugins using examples and documentation on this site, but I am having hard time getting the basics.
I’d like to poll two variables (called “BatteryLevel” and “Distance”) from https://sequematic.com/variable-get/2019/ID/BatteryLevel and https://sequematic.com/variable-get/2019/ID/Distance
and display them on my Home Remote. (URLs shown here don’t work, I altered them for privacy reason).
The links work, but I can’t figure out how to include them in a script.
Can someone possibly show me a plugin that results in what I’m trying to do, or give me some pointers how to write the script?
I’ll be forever grateful.

I created a VirtualDevice with two variables: BatteryLevel and Distance. I can display these variables on a Label with device binding. So I realize that I may not need for plugin (although I’d like that variable to change as it changes at the URL source). I rephrase my question: How can I set a device variable with a URL?