Author

Topic: Whaats the correct syntax to get lasttradeprice on crytpsy (Read 441 times)

member
Activity: 82
Merit: 10
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
Jump to: