title: Poloniex push api
body: <p>I am interested in writing some basic php to interface with the Poloniex push api.</p>
  
  <p>Their website provides the following info:
  <a href="https://poloniex.com/support/api/" rel="nofollow">https://poloniex.com/support/api/</a></p>
  
  <p>A php wrapper can be found here:
  <a href="http://pastebin.com/iuezwGRZ" rel="nofollow">http://pastebin.com/iuezwGRZ</a></p>
  
  <p>From what i can determine there are three APIs being push, public and trading. The public and trading APIs provide functions that can be passed parameters etc. The push api stumps me totally as i cannot determine how it works.</p>
  
  <p>The first link above states the API pushes live data and different feeds can be subscribed to.</p>
  
  <p>My questions are:
  A) How can php receive a live stream of data?
  B) How do i subscribe to a feed?</p>
  
  <p>I may have misunderstood the oush api and my apologies in advance if this is the case.</p>
  
  <p>Edit1:
  I believe i need a WAMP client to connect to a WAMP router such as Minion.
  <a href="https://github.com/Vinelab/minion" rel="nofollow">https://github.com/Vinelab/minion</a></p>
  
  <p>Edit2:
  Node.js example
  <a href="http://pastebin.com/dMX7mZE0" rel="nofollow">http://pastebin.com/dMX7mZE0</a></p>