I would like to display data retrieved from an API, which will be in JSON format, on my website. This data will be from an online game. I would like that data to refresh after x amount of time. I will be placing this in a block in the sidebar of my forum, so I would be making a PHP template to insert. Could you direct me to documentation that would cover all that?
If you are using Javascript/Jquery to retrieve data from API then you can use setInterval. http://stackoverflow.com/questions/5052543/how-to-fire-ajax-request-periodically