Bitcoin Forum
June 03, 2024, 03:05:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Whaats the correct syntax to get lasttradeprice on crytpsy  (Read 427 times)
imthefuckingbossinehre (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
March 19, 2015, 10:03:08 PM
 #1

Im using cryptsys api
now i want to get the last tradeprice for BTC/USD
whats the correct syntax??

If i use

 $cryptsy  = file_get_contents('http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid=2';

i get to much information

this is the example syntax

General Market Data (Single Market - Realtime):

http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid={MARKET ID}

all i want to have displayed if echo cryptsy should be the last trade price

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!