Hey buddy, happy to help! There is an example of how to query the
Trading API here
http://pastebin.com/jyd9tACF.
If you just want the
current price, it is much simpler. Send a GET request here
https://btc-e.com/api/2/btc_usd/tickerAnd the result will be returned as JSON which you can parse.
EG
{"ticker":{"high":925,"low":808,"avg":866.5,"vol":27641876.50246,"vol_cur":31521.98718,"last":906,"buy":906,"sell":902.19,"updated":1386650589,"server_time":1386650589}}
Send me a PM with specific questions if you are having trouble. And my btc address is in my signature, anything is appreciated! ;-)
******************************************
NOTE -
The API's BTC-e has are TICKER, TRADES and DEPTH
Ticker -
https://btc-e.com/api/2/insert_pair/ticker Trades -
https://btc-e.com/api/2/insert_pair/trades Depth -
https://btc-e.com/api/2/insert_pair/depthEG
BTC/USD
Ticker -
https://btc-e.com/api/2/btc_usd/ticker Trades -
https://btc-e.com/api/2/btc_usd/trades Depth -
https://btc-e.com/api/2/btc_usd/depthLTC/BTC
Ticker -
https://btc-e.com/api/2/ltc_btc/ticker Trades -
https://btc-e.com/api/2/ltc_btc/trades Depth -
https://btc-e.com/api/2/ltc_btc/depth LTC/USD
Ticker -
https://btc-e.com/api/2/ltc_usd/ticker Trades -
https://btc-e.com/api/2/ltc_usd/trades Depth -
https://btc-e.com/api/2/ltc_usd/depth And just continue to modify for other pairs you need info for
PPC/USD Ticker -
https://btc-e.com/api/2/ppc_usd/ticker NMC/USD Ticker -
https://btc-e.com/api/2/nmc_usd/tickerNVC/USD Ticker -
https://btc-e.com/api/2/nvc_usd/tickerETC ETC ETC