Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: jjodwald on June 24, 2013, 10:51:43 PM



Title: I need some stats any clues?
Post by: jjodwald on June 24, 2013, 10:51:43 PM
I would love to be able to get stats like average hashrate from current diff level and exact time of last diff change. Are there any available for majority of alts or do I have to collect them manually?


Title: Re: I need soem stats any clues?
Post by: John Eden on June 24, 2013, 10:53:47 PM
coinchoose.com


Title: Re: I need soem stats any clues?
Post by: jjodwald on June 25, 2013, 07:09:21 AM
Coinchoose does not show any stats I want. They show average hashrate/24 hours - I would rather get the average for the current diff level. They also do not show any timeframes of diff levels.


Title: Re: I need soem stats any clues?
Post by: sal002 on June 25, 2013, 06:00:28 PM
Coinchoose does not show any stats I want. They show average hashrate/24 hours - I would rather get the average for the current diff level. They also do not show any timeframes of diff levels.

The GUI doesn't show it - but you can pull data from the JSON api and calc these pretty easily ;)


Title: Re: I need soem stats any clues?
Post by: jjodwald on June 25, 2013, 06:22:01 PM
If you mean http://www.coinchoose.com/api.php (http://www.coinchoose.com/api.php) I can pull nothing out of it. If something else, well, I am not a programmer, just a crypto currencies enthusiast and I simply cannot do that.


Title: Re: I need soem stats any clues?
Post by: Barnacle_Ed on June 25, 2013, 06:33:01 PM
If you mean http://www.coinchoose.com/api.php I can pull nothing out of it. If something else, well, I am not a programmer, just a crypto currencies enthusiast and I simply cannot do that.

With that kind of attitude, you definitely can't do anything...10 seconds with Google gets you a simple Python program (http://stackoverflow.com/questions/1640715/get-json-data-via-url-and-use-in-python-simplejson) to read from a specified URL. At that point, you're maybe 3 lines of code away from what you need.


Programming ain't difficult, especially thanks to sites like codeyear and stackoverflow. All it takes is a tiny bit of effort on your part...


Title: Re: I need soem stats any clues?
Post by: defaced on June 25, 2013, 06:48:57 PM
If you mean http://www.coinchoose.com/api.php I can pull nothing out of it. If something else, well, I am not a programmer, just a crypto currencies enthusiast and I simply cannot do that.

With that kind of attitude, you definitely can't do anything...10 seconds with Google gets you a simple Python program (http://stackoverflow.com/questions/1640715/get-json-data-via-url-and-use-in-python-simplejson) to read from a specified URL. At that point, you're maybe 3 lines of code away from what you need.


Programming ain't difficult, especially thanks to sites like codeyear and stackoverflow. All it takes is a tiny bit of effort on your part...

+1


Title: Re: I need some stats any clues?
Post by: darkproton on June 25, 2013, 06:50:27 PM
If you mean http://www.coinchoose.com/api.php I can pull nothing out of it. If something else, well, I am not a programmer, just a crypto currencies enthusiast and I simply cannot do that.

With that kind of attitude, you definitely can't do anything...10 seconds with Google gets you a simple Python program (http://stackoverflow.com/questions/1640715/get-json-data-via-url-and-use-in-python-simplejson) to read from a specified URL. At that point, you're maybe 3 lines of code away from what you need.


Programming ain't difficult, especially thanks to sites like codeyear and stackoverflow. All it takes is a tiny bit of effort on your part...
+1
Frame of mind is crucial. Ok, I will give you a second to get psyched....ready? Here we go. It can be intimidating not being a programmer but this is a wonderful place to start. Programming with an interest, such as api calls in Python, can really expound horizons. So to get started, first get an ide. This is a program that you will code in. I would say get Eclipse, others may disagree. http://www.eclipse.org/downloads/packages/eclipse-classic-422/junosr2 It's free. Next get python.
http://www.python.org/getit/windows/Install Python. Get 2.7 or >.  Check out beginners section http://wiki.python.org/moin/BeginnersGuide. Now get pydev so that eclipse can utilize python http://pydev.org/manual_101_install.html. It's a little bit of a setup but I think its worth it. Maybe someone else here has better ideas!


Title: Re: I need some stats any clues?
Post by: diatonic on June 25, 2013, 07:37:24 PM
I would love to be able to get stats like average hashrate from current diff level and exact time of last diff change. Are there any available for majority of alts or do I have to collect them manually?

Find an Abe based block explorer and use the API.

BottleCaps example: http://bot.webboise.com:2760/chain/Bottlecaps/q/nethash
Doubloons example: http://explorer.doubloons.net/chain/Doubloons/q/nethash

Statistical values are approximate and differ slightly from http://blockexplorer.com/q/nethash.

/chain/CHAIN/q/nethash[/INTERVAL[/START[/STOP]]]
Default INTERVAL=144, START=0, STOP=infinity.
Negative values back from the last block.
Append ?format=json to URL for headerless, JSON output.


Title: Re: I need some stats any clues?
Post by: Barnacle_Ed on June 25, 2013, 07:54:33 PM

Frame of mind is crucial. Ok, I will give you a second to get psyched....ready? Here we go. It can be intimidating not being a programmer but this is a wonderful place to start. Programming with an interest, such as api calls in Python, can really expound horizons. So to get started, first get an ide. This is a program that you will code in. I would say get Eclipse, others may disagree. http://www.eclipse.org/downloads/packages/eclipse-classic-422/junosr2 It's free. Next get python.
http://www.python.org/getit/windows/Install Python. Get 2.7 or >.  Check out beginners section http://wiki.python.org/moin/BeginnersGuide. Now get pydev so that eclipse can utilize python http://pydev.org/manual_101_install.html. It's a little bit of a setup but I think its worth it. Maybe someone else here has better ideas!

These are some good starting recommendations.

At the risk of turning this into a text-editor-based religious war: I'd personally recommend avoiding IDEs since I find them slow, clunky, and fairly unnecessary for Python. Sublime Text (http://www.sublimetext.com/) and the command prompt is enough to get started after downloading the necessary Python packages.



One other venue to check out for aspiring coders is CodeAcademy (http://www.codecademy.com/tracks/python), which walks you through programming examples online...all you need is a browser.


Title: Re: I need some stats any clues?
Post by: darkproton on June 26, 2013, 03:35:52 AM

Frame of mind is crucial. Ok, I will give you a second to get psyched....ready? Here we go. It can be intimidating not being a programmer but this is a wonderful place to start. Programming with an interest, such as api calls in Python, can really expound horizons. So to get started, first get an ide. This is a program that you will code in. I would say get Eclipse, others may disagree. http://www.eclipse.org/downloads/packages/eclipse-classic-422/junosr2 It's free. Next get python.
http://www.python.org/getit/windows/Install Python. Get 2.7 or >.  Check out beginners section http://wiki.python.org/moin/BeginnersGuide. Now get pydev so that eclipse can utilize python http://pydev.org/manual_101_install.html. It's a little bit of a setup but I think its worth it. Maybe someone else here has better ideas!

These are some good starting recommendations.

At the risk of turning this into a text-editor-based religious war: I'd personally recommend avoiding IDEs since I find them slow, clunky, and fairly unnecessary for Python. Sublime Text (http://www.sublimetext.com/) and the command prompt is enough to get started after downloading the necessary Python packages.



One other venue to check out for aspiring coders is CodeAcademy (http://www.codecademy.com/tracks/python), which walks you through programming examples online...all you need is a browser.
+1
My way is a little overkill


Title: Re: I need soem stats any clues?
Post by: jjodwald on June 26, 2013, 09:16:09 AM

With that kind of attitude, you definitely can't do anything...10 seconds with Google gets you a simple Python program (http://stackoverflow.com/questions/1640715/get-json-data-via-url-and-use-in-python-simplejson) to read from a specified URL. At that point, you're maybe 3 lines of code away from what you need.


Programming ain't difficult, especially thanks to sites like codeyear and stackoverflow. All it takes is a tiny bit of effort on your part...
Please do not judge me or my attitude. I put a lot of effort to to be in the point I am in right know. I have learned hell lot of new things since I started with cryptos but coding is something I would rather not touch. I would like to have time to do that but I don't. I have just asked if there is a simple way to obtain this data. And obviously there is one, with proper coding skills but this is something that I have already known.

Anyway, thank you all for your answers and interesting links.


Title: Re: I need some stats any clues?
Post by: sal002 on June 26, 2013, 03:20:39 PM
You could also try this:

Using the data at http://www.coinchoose.com/jsondata.php?hours=[set number of hours to look bak] and then look at this article to get it into Excel (which you can manipulate as you want) - http://excelramblings.blogspot.com/2011/11/rest-json-excel-in-one-line-of-code.html