Welcome to WebmasterWorld Guest from 50.19.34.255

Forum Moderators: coopster & jatar k

How To Displaying a Realtime Using API

Stockmarket API displaying realtime

     
2:32 am on Nov 15, 2017 (gmt 0)

New User

joined:Nov 15, 2017
posts: 1
votes: 0


Hi everyone,

I am new in here. I have something can't find out how it work and how to do it.
Actually i want to make a trading website.
Could you check this site for what i am asking for :<snip>

If you see the"orderbook" and "recent trade" that's displaying realtime and i thought they get the data from calling an API to a some server website that provide a json API data.

How do we calling the API with php realtime like example without need to refresh a page to get the updated data ? Is that need a purpose build server ? is that need a third party plugin ? or we can do this by just simple looping the calling API using AJAX to get the newest data ? How is the code look like in short description ? Anyone could explain how it work ?

For note : i will use blockchain API for my project.

Thank You

[edited by: engine at 9:36 am (utc) on Nov 15, 2017]
[edit reason] Please see WebmasterWorld TOS - no urls [/edit]