Pages:
Author

Topic: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts - page 2. (Read 8455 times)

sr. member
Activity: 516
Merit: 268
That's realy-realy nice! Send you some litecoins.  Cool

Thanks! Smiley
member
Activity: 82
Merit: 10
That's realy-realy nice! Send you some litecoins.  Cool
sr. member
Activity: 516
Merit: 268
Hi everybody. Just to let you know that MyLitecoins gadget was updated today.

New feature is that now you can set alerts - when a certain amount is reached, value in gadget changes color to let you know that it's above or below threshold.

The Bitcoin gadget has received the same update, and there are two new gadgets available as of today: MyNamecoins gadget and MyCoins gadget which is a universal gadget that can display any currency. Check them out if you're interested.
sr. member
Activity: 516
Merit: 268
New versions of both BTC and LTC gadgets are available. Two changes in this version:

1. Support for international Windows versions. Gadget wouldn't install on German windows (or any version other than en-US), and it would ignore decimals on correction values if Windows was setup to use comma instead of decimal point. If you encountered this problems, please download the newest version and give it a try.

2. Ability to use Javascript in JSON keys. The json object variable name is "json". That means that JSON key can be referenced from Javascript like this: json.ticker.last - which allows to retrieve data from more complicated JSON responses. The old way of referencing keys ("last") still works, but is not able to parse JSON responses where there are, say, two JSON keys with the requested name.
sr. member
Activity: 516
Merit: 268
so, it was, how does the Pool API works?, since i can get anything from my pools to be shown

Well, here goes - feel free to skip the parts you already know.

First you need to login to your pool account and figure out your pool API key, and the link to retrieve your pool data. Most pools display this link somewhere in the account settings. Then you can use your browser to visit this link and observe the structure. You'll probably be interested in two values:
1. unpaid amount (the amount you can cash out from the pool) - something like "confirmed_reward"
2. paid amount (the amount you cashed out already) - something like "payout_history"

Now, to configure the gadget.

Go to the gadget configuration. You'll probably want to choose the mining presets and click Apply. This uses default settings for more miner-friendly setup. Then, to configure the pool go to Pool #1 section. Here's where you should enter your pool API URL. You also need to enter at least one JSON key (the keys of the unpaid and paid amounts). The process is the same for the second and third pool.

There is also one other important setting under General section - correction amount. This is any amount that you wish to add (or subtract) to the amount being displayed.

Let me give a few examples.

1. You wish to know how much USD you have tied in the pool. You enter your pool API and unpaid JSON key. You leave correction amount at 0. The gadget now displays the amount you can cash out. Exchange is configured by default (BTC-E) but you can use another - check gadget page for instructions how to configure Vircurex (or any other exhange).
2. Maybe you want to display how much you've mined in total? Start with the settings in example 1 and add paid JSON key. Now the gadget will sum both paid and unpaid LTC from the pool, and convert it to USD.
3. Now, you've probably sold some of your LTC, or bought some LTC, and the example 2 is not really the exact sum of LTC you have in your wallet. That's what correction is for - sum all your payments except those related to the pool, and enter the amount you get in the correction field. That should give you the exact amount you have in your wallet, plus the amount that's still unpaid - that is, your LTC worth in USD.

As you can see, the gadget is very configurable and you can make it display almost anything you want - although it takes a bit to get to know different APIs.
sr. member
Activity: 266
Merit: 250
LitecoinTalk
how do i get the to show the info from the API's?

Hi Greedi,

the gadget should show some info as soon as it's started. Instructions on how to set it up with a custom exchange are on the gadget page (http://domchi.cc/mylitecoins/) under "Configuring exchanges and pools" section. If you specify what exactly you want to show, I might be able to help some more.

sorry, i forgot to include pool Smiley

so, it was, how does the Pool API works?, since i can get anything from my pools to be shown
sr. member
Activity: 516
Merit: 268
how do i get the to show the info from the API's?

Hi Greedi,

the gadget should show some info as soon as it's started. Instructions on how to set it up with a custom exchange are on the gadget page (http://domchi.cc/mylitecoins/) under "Configuring exchanges and pools" section. If you specify what exactly you want to show, I might be able to help some more.
sr. member
Activity: 516
Merit: 268
domchi cool app but please make the gadget truly international:
my OS is in german and did not recognise the gadget until i changed the en-US script folder in de-DE

Hi Armodar, thanks for suggestion - the next version (coming soon) will have globalization support and work on German and all other versions of Windows. No localization though since I don't speak German. Smiley

EDIT: seems to be an update issue, for some reason on my pc it just does not update the stats

There are two reasons stats might not get updated - first is update interval (check exchange data update interval in configuration), and the second is if anything goes wrong with fetching the new data from the feed. Old data is displayed until there's an successful update. You can force refresh by opening and closing settings. Also, be warned - some exchanges will block your IP if you request updates too often.
sr. member
Activity: 266
Merit: 250
LitecoinTalk
how do i get the to show the info from the API's?
sr. member
Activity: 358
Merit: 250
Loving your work.  Both the LTC and BTC gadgets are very useful!
full member
Activity: 182
Merit: 100
There is a market for the MAC with this kind of easy programmer stuff.  Wish I could knew how to do it.
newbie
Activity: 25
Merit: 0
domchi cool app but please make the gadget truly international:

my OS is in german and did not recognise the gadget until i changed the en-US script folder in de-DE

so please create identical folders like en-US for all major distributions for windows7, those are:

en-US
de-DE
et
fr-FR
it-IT
ro
pt-PT
sk
pl
sv-SE
es-ES


Cheers,
Armodar

EDIT: seems to be an update issue, for some reason on my pc it just does not update the stats
sr. member
Activity: 516
Merit: 268
If anybody is wondering why the gadget stopped showing exchange rates...

As of August 9th 2012 BTC-E API URLs that are used by default have changed; please either download the new version of the gadget with the new defaults, or change your exchange URL to https://btc-e.com/api/2/ltc_btc/ticker or https://btc-e.com/api/2/ltc_usd/ticker
sr. member
Activity: 392
Merit: 250
Thanks Domchi,

Excellent job on this very handy and functional LTC price ticker.

Will be sending LTC donation your way, and encourage anyone who finds this tool useful
to do the same.

Stewart
legendary
Activity: 1133
Merit: 1050
This is cool!

We created a Project Page for this to help drum up interest...
https://litebit.co/project-item/litecoin-gadget/
hero member
Activity: 980
Merit: 506
sr. member
Activity: 516
Merit: 268
Based on my BTC Windows gadget, and inspired by StewartJ, I created the new gadget for Litecoin - now with expanded view for traders.

It can be configured to connect to up to 3 mining pools, fetch confirmed or unconfirmed rewards, payouts or whatever data is available. It can also connect to preferred exchange and get USD rate, and optionally connect to Yahoo Finance! and convert USD to any world currency.

Additionally, you can "correct" the shown amounts by adding or subtracting any amount of LTC; for example, to include LTC amount you exchanged or spent.

If you like it, you can let me know in this thread, or by sending some litecoins to this Litecoin address: LcJ5GinEXzyHzvYB3NfycARqhAYN8Jh8mo

Download link: http://www.domchi.cc/mylitecoins/

Pages:
Jump to: