I need to create a python script that will basically subscribe to an external services provider. Afterwards, the values of these services have to be mapped to certain tags already created in advance. What is the best way of setting this subscription script in the system?. This script will collect the updated values so basically it needs to be always active and running in the background in somehow. Ideally, this script would update the tag values within the same code, therefore it makes no sense to me to set it to a tag change level.
It should retrieve data (This I know already how to do it), and map the new values to certain tags and if possible in the same script. Any hint to do this and have the script always running?
Thanks so much