Bitcoin Forum
November 07, 2024, 06:57:10 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: use LakeBTC WebSocket API in a ASP site?  (Read 1207 times)
SanMerryDro (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
August 06, 2014, 07:50:18 AM
 #1

I am to know nothing about any code, and my site was build by an ASP source code, the sample client code is given by LakeBTC, but it doesn't work in my site, How could I modify it? Or will it helpful for me to replace a wordpress website?

https://www.lakebtc.com/s/api?locale=en


Code:
<html>
  <head>
    <script>
      function init() {
        var conn = new WebSocketLakeBTC('www.lakebtc.com/websocket');

        var channel = conn.subscribe('orderbook_USD');

        channel.bind('update', function(t){
          $('#debug').append(JSON.stringify(t));
        });
      };
    </script>
  </head>

  <body onload="init();">
    <h1>WebSocketLakeBTC Test</h1>
    <div id="debug"></div>

    <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
    <script src="/WebSocketLakeBTC.js" type="text/javascript"></script>
  </body>

</html>
LakeBTC
Hero Member
*****
Offline Offline

Activity: 903
Merit: 1000


LakeBTC.com


View Profile WWW
August 09, 2014, 03:59:02 AM
 #2

you can mail to LakeBTC@gmail.com to ask for technical support

LakeBanker: Free Banking for the World     LakeBanker.com   Token Sale. Participate Now!
LakeBTC
Hero Member
*****
Offline Offline

Activity: 903
Merit: 1000


LakeBTC.com


View Profile WWW
August 09, 2014, 01:41:21 PM
 #3

please refer to https://www.lakebtc.com/s/api?locale=en for updated resources to get you started

LakeBanker: Free Banking for the World     LakeBanker.com   Token Sale. Participate Now!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!