Bitcoin Forum
July 23, 2019, 09:08:48 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Using an API  (Read 471 times)
SwagiWagi
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 26, 2017, 03:56:42 PM
 #1

Hey everyone!

I would like to use some kind of a wallet API to let my program do something like this:

Random random = new Random();

API wallet1 = new API(random.next);
API wallet2 = new API(random.next);
API wallet3 = new API(random.next);
API wallet4 = new API(random.next);
API wallet5 = new API(random.next);
API wallet6 = new API(random.next);


if (wallet1.recievedMoney()) {
wallet1.getMoney.sendToWallet(wallet4);
} elseif (wallet2.recievedMoney()) {
wallet1.getMoney.sendToWallet(wallet5);
} elseif (wallet3.recievedMoney()) {
wallet1.getMoney.sendToWallet(wallet6);
}


Something like that, what would the API that you would recommand be?

~ SwagiWagi.
1563916128
Hero Member
*
Offline Offline

Posts: 1563916128

View Profile Personal Message (Offline)

Ignore
1563916128
Reply with quote  #2

1563916128
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1563916128
Hero Member
*
Offline Offline

Posts: 1563916128

View Profile Personal Message (Offline)

Ignore
1563916128
Reply with quote  #2

1563916128
Report to moderator
nemgun
Hero Member
*****
Offline Offline

Activity: 658
Merit: 522



View Profile
March 26, 2017, 05:15:03 PM
 #2

Well, supposing it is javascript, i suggest you to try https://www.blockcypher.com
They have a complete set of API calls who lets you do what you are looking for, i hope it is not for annother scam or HYIP program. By the way, what is this language ? or just a pseudo code ?


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
SwagiWagi
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 26, 2017, 05:38:03 PM
 #3

Well, supposing it is javascript, i suggest you to try https://www.blockcypher.com
They have a complete set of API calls who lets you do what you are looking for, i hope it is not for annother scam or HYIP program. By the way, what is this language ? or just a pseudo code ?

I know Java/Python, Java prefered.
This site doesn't support Java, only JavaScript.
Any other suggestions?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1484
Merit: 1315


No I dont escrow anymore.


View Profile WWW
March 26, 2017, 06:03:06 PM
 #4

Well, supposing it is javascript, i suggest you to try https://www.blockcypher.com
They have a complete set of API calls who lets you do what you are looking for, i hope it is not for annother scam or HYIP program. By the way, what is this language ? or just a pseudo code ?

I know Java/Python, Java prefered.
This site doesn't support Java, only JavaScript.
Any other suggestions?

Get a full node -> https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Java
SwagiWagi
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 26, 2017, 06:18:06 PM
 #5

Well, supposing it is javascript, i suggest you to try https://www.blockcypher.com
They have a complete set of API calls who lets you do what you are looking for, i hope it is not for annother scam or HYIP program. By the way, what is this language ? or just a pseudo code ?

I know Java/Python, Java prefered.
This site doesn't support Java, only JavaScript.
Any other suggestions?

Get a full node -> https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Java

What is that? Didn't got it.
nemgun
Hero Member
*****
Offline Offline

Activity: 658
Merit: 522



View Profile
March 26, 2017, 06:27:25 PM
 #6

Well, supposing it is javascript, i suggest you to try https://www.blockcypher.com
They have a complete set of API calls who lets you do what you are looking for, i hope it is not for annother scam or HYIP program. By the way, what is this language ? or just a pseudo code ?

I know Java/Python, Java prefered.
This site doesn't support Java, only JavaScript.
Any other suggestions?

Get a full node -> https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Java

What is that? Didn't got it.

It is bitcoin's secret weapon, a full list of how to use bitcoin in different languages. Untill now it is the only Crypto currency offer this kind of support.
Just look for the language you are looking for and use the examples to start coding.

But in your case, you want an API, so : https://www.blockcypher.com/dev/bitcoin/?shell#block
Just an example, you will have to read all the documents.


        ▄                   ▄██
       ▐██▄                ▄████▄
       █████▄            ▄███████
      ████████▄        ▄██████████
     ▐██████████▄    ▄█████████████
     █████████████▄ ▀██████████████▄
    ████████████████▄ ▀█████████████
   ▐█████████████████▄  ▀████████████
   ████████████████████▄  ▀██████████▌
  ███████████████████████▄  ▀█████████▄
 ▄█████████████████████████▄  ▀████████
 ████████████████████████████▄  ▀██████▌
▐██████████████████████████████▄  ▀██▀▀
▀████████████████████████████████
    ▀▀▀███████████████████████▀
          ▀▀███████████████▀
                ▀▀█████▀▀
.
▄█▄


▀█▀
.
▄█▄


▀█▀
.
~Bitcoin~
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile
March 26, 2017, 06:51:05 PM
 #7

You can use blockchain.info api but you have to request api key for your service before using their api service.
Here is their api and guide for python https://github.com/blockchain/api-v1-client-python

codrvar
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
March 26, 2017, 10:51:28 PM
 #8

Blockcypher is very good but the pricing structure looks expensive as free does not give you lots of requests, Blocktrail allows you to use more calls and multisignature addresses for free, Blockchain can be very slow.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!