I need to get data from an API every 30 seconds and compare them with the previous values. One of the ways is using a "While True" loop. Here is a brief explanation of