MyLitecoins gadget

MyLitecoins gadget screenshot
As of 14th February 2019, third-party service that is used for fiat exchange rate (target currency field) has changed licensing terms. Please download updated gadget if you're using target currency field and create target currency API key.

Do you ask yourself these questions?

MyLitecoins is a Windows gadget (Vista sidebar or Windows 7) which displays two values: the amount of litecoins you have, and an estimated value of those litecoins in your preferred currency.

Download now It's free!
(though donations are appreciated)
MyLitecoins gadget config screenshot

Features

You can specify any mining pool or exchange which has JSON API (most of them do). The only thing you need to know is URL and JSON keys.

Configuring exchanges and pools

By default, the gadget is configured to use BTC-e API to obtain exchange data. If we wanted to use a different exchange, for example Vircurex, first we need to find out JSON API URL. Vircurex has a bit different API, but this page details all that is needed to use the API. Let us create the URL which returns last LTC-BTC trade exchange: https://api.vircurex.com/api/get_info_for_1_currency.json?base=LTC&alt=BTC. The data returned looks like this:

{"base":"LTC", "alt":"BTC", "lowest_ask":"0.00379998", "highest_bid":"0.00352","last_trade":"0.00379999", "volume":"1357.57892737"}

The exchange rate we need is in the "last_trade" JSON value. So, to configure MyLitecoins to use Vircurex, we have to enter above URL and JSON key "last_trade". We could use secondary exchange to track up to three additional values (for example highest bid and lowest ask), or simply clear all secondary exchange JSON keys.

Configuring gadget to use pool APIs works in the same way. The only difference is that you can configure up to two JSON keys for pools, since you're probably interested in both paid and unpaid amounts.

Changes

Like this gadget?

If you find this gadget useful, you can support it by sending any amount of LTC to the following Litecoin address: LcJ5GinEXzyHzvYB3NfycARqhAYN8Jh8mo

Thanks to StewartJ for inspiration and beta testing.