Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Call Api and Auto-Reload div.

1
Rails

Hello!

I want to setup a script that calls api from various webistes and retrieve data every n seconds.

I'd like to setup a page where data(numbers) are showing auto-reload constantly.

Which is the best method to do this? Have I to create the script in the controller or directly with javascript?

Have I setup an auto-reload div or something similar for the live reload?

Thank you.

have I to setup Action Calbe or a rake job or something else or directly with javascript/jquery?

Thank you very much!!!

Join the discussion
Create an account Log in