Bitcoin Forum
May 27, 2024, 03:45:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: API Whattomine. How?  (Read 278 times)
drmmaker (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
September 09, 2018, 06:41:53 PM
 #1

Hi guys!

Can you provide me with any ideas how to get advertised profit form whattomine using API request (or something else)?

thnx!
GGurol
Member
**
Offline Offline

Activity: 112
Merit: 31


View Profile
September 09, 2018, 06:48:47 PM
 #2

Hi guys!

Can you provide me with any ideas how to get advertised profit form whattomine using API request (or something else)?

thnx!

This is the live json file
https://whattomine.com/coins.json
You need to expand the array and filter for your algoritm via your programming language.
If you use PHP,
in foreach loop, you can use simple equality control like;

foreach($array AS $data)   {

if($data['algorithm']=="equihash") {
// add your action
}


                                    }

drmmaker (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
September 20, 2018, 09:23:25 AM
 #3

Hi guys!

Can you provide me with any ideas how to get advertised profit form whattomine using API request (or something else)?

thnx!

This is the live json file
https://whattomine.com/coins.json
You need to expand the array and filter for your algoritm via your programming language.
If you use PHP,
in foreach loop, you can use simple equality control like;

foreach($array AS $data)   {

if($data['algorithm']=="equihash") {
// add your action
}


                                    }

Hi,

Thank you a lot!
Your help is highly appreciated.
fexploit
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
September 20, 2018, 01:41:12 PM
 #4

you can also use coincalculators.io alternatively.

https://www.coincalculators.io/api/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!