Pulling a random address out. Get http://explorer.litecoin.net/chain/Litecoin/q/getreceivedbyaddress/LbfSCZE1p9A3Yj2JK1n57kxyD2H1ZSXtNG
Take that, then subtract this value: http://explorer.litecoin.net/chain/Litecoin/q/getsentbyaddress/LbfSCZE1p9A3Yj2JK1n57kxyD2H1ZSXtNG
(Balance = received - sent) Seems to match what the human-readable page says. (Depending on the timing and how fast those two numbers update something weird could happen if the balance is changing while you're querying.) Bummer they don't have a single call for this that I can see. You could maybe scrape the HTML of the human page and get the balance out of that.
Ah right on, this is what I needed... I don't mind doing a bit of math to get the answer. That's great! I will give this a shot tonight..
I was considering scraping the HTML page, but that's no fun.
This is correct. If you are only interested in the balances of addresses in *your* wallet, you absolutely can find these using the litecoin api on your pool server using the calls I mentioned above.
It's only if you're interested in the balances of addresses *not* in your wallet that you have to worry about building a db or calling an external API of another site that has done this.
I didn't even consider this... I'm not even sure how to throw my queries against the pool's API (I'm a newb when it comes to PHP/API/etc stuff). I've just used the API they provided, and it provides a static set of information (hashrate, pool balance, lifetime payout, etc). I'm going to try using what Scintill mentioned - and if that doesn't work, I'll be back to figure out what you guys (w1R903 & thep33t) suggested.
Thanks all for the help!