Thank all for your replies... PN i like you solution, I am going to try it and let you know if it worked... Thanks to all for yo help!
On Thursday, March 20, 2014 11:25:47 PM UTC+2, PN wrote: > > You can also use web2py components (see the chapter titled 'Components and > Plugins' in the web2py book). Basically first make a normal web2py page > that reads the remote API every time the page is loaded, and displays the > results. Then, load this page as a component into another page, and specify > the 'timeout' parameter of the component so that it reloads every 30 > seconds. You will not have to do any of the ajax/js yourself this way. > > On Sunday, March 16, 2014 1:48:11 PM UTC-4, Martin wrote: >> >> Hi all, >> Please could anyone help me out, I need to pull some data from some API >> (ex: https//xxx/aaa/ etc.) every 30s and then display the result in a ti >> cker >> How do I do this with Web2py + JavaScript ? I am new to web2py. >> >> Thank you. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.