If you are pulling data from another web service, take a look at the cache 
function built into web2py. Use that to get the api results and it will 
cache the results. Any time the results are requested, if they are older 
than the expiration time, they will force a reload. The only issue with 
doing it this way is your server may slowdown while this is going on, so 
you may want to disable sessions for this particular function call.

On Sunday, March 16, 2014 10:48:11 AM UTC-7, 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.

Reply via email to