Updating UI Element via Key press

Hi , I am working on a UI for showing football scores and lineups.
I am retrieving UI Element fields from PHP File on 3rd party webhost.

as i make changes in PHP file , it updates UI Field after pressing a key
now , I want to set up a logic that does this ( kind of like refreshing UI ).

using varREST plugin to retrieving data from php file.

any help or push in right direction is appreciated.

Hey AnkitPassi,

For catch key press in ui you will have to make a few adjustment. For this look at the this.

I hope helpful. Regards.