Bitcoin Forum
May 03, 2024, 02:43:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: APi to excel  (Read 1383 times)
semajjames (OP)
Hero Member
*****
Offline Offline

Activity: 528
Merit: 500


View Profile
November 14, 2014, 06:22:26 PM
 #1

Hi
is it possible to use API to feed a coin price into microsoft excel cell ?

cheers 
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714747410
Hero Member
*
Offline Offline

Posts: 1714747410

View Profile Personal Message (Offline)

Ignore
1714747410
Reply with quote  #2

1714747410
Report to moderator
1714747410
Hero Member
*
Offline Offline

Posts: 1714747410

View Profile Personal Message (Offline)

Ignore
1714747410
Reply with quote  #2

1714747410
Report to moderator
1714747410
Hero Member
*
Offline Offline

Posts: 1714747410

View Profile Personal Message (Offline)

Ignore
1714747410
Reply with quote  #2

1714747410
Report to moderator
Sampey
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
November 15, 2014, 02:16:47 AM
 #2

Yes of course, but you must write a code in the middle

API PRICE <------ YOUR CODE --------> XLS Output
semajjames (OP)
Hero Member
*****
Offline Offline

Activity: 528
Merit: 500


View Profile
November 15, 2014, 03:45:04 AM
 #3

Yes of course, but you must write a code in the middle

API PRICE <------ YOUR CODE --------> XLS Output

Ok Great and Thanks

So could you point me to where i could find out how to do this,,,

 Or could you show me a code that will do... for instance BTC/USD on Cryptsy 

I dont want to get it out of excel i just want to be able to use  it inside excel to work out most profitable coins/pool's ect 

thanks again
Sampey
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
November 15, 2014, 12:06:02 PM
 #4

I'm a Java programmer, so i know how to do it in Java

These are the Library to Write/Read Excel files :

http://poi.apache.org/

And for the Price Part, you must create an HTTP Call according to the site API Interface.
I Mean, if you call Cryptsy, you  must follow this guide : https://www.cryptsy.com/pages/privateapi
semajjames (OP)
Hero Member
*****
Offline Offline

Activity: 528
Merit: 500


View Profile
November 15, 2014, 01:34:42 PM
 #5

I'm a Java programmer, so i know how to do it in Java

These are the Library to Write/Read Excel files :

http://poi.apache.org/

And for the Price Part, you must create an HTTP Call according to the site API Interface.
I Mean, if you call Cryptsy, you  must follow this guide : https://www.cryptsy.com/pages/privateapi

Thanks I think I can get the cryptsy API side sorted but the Java side i have know idea at all


would it be possible for you to make a basic flow chart with words  like this to show me the process :-

fill kettle with water/boil water/put teabag in cup/pour water in cup/ ect/ect

LOL very basic will do for a start ,,,,, I am guessing the Java bit what tells excel where to put the data ?

Thanks
Sampey
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
November 15, 2014, 01:46:06 PM
 #6

I'm a Java programmer, so i know how to do it in Java

These are the Library to Write/Read Excel files :

http://poi.apache.org/

And for the Price Part, you must create an HTTP Call according to the site API Interface.
I Mean, if you call Cryptsy, you  must follow this guide : https://www.cryptsy.com/pages/privateapi

Thanks I think I can get the cryptsy API side sorted but the Java side i have know idea at all


would it be possible for you to make a basic flow chart with words  like this to show me the process :-

fill kettle with water/boil water/put teabag in cup/pour water in cup/ ect/ect

LOL very basic will do for a start ,,,,, I am guessing the Java bit what tells excel where to put the data ?

Thanks

Well steps are :

Make An Http Call to the Site (i'm sure you'll find some code on the net to call an API Method)
Parse the Response (usually JSON) and get the Data you need
Write on the Excel using the POI Library.
Here you can find an example
http://www.avajava.com/tutorials/lessons/how-do-i-write-to-an-excel-file-using-poi.html

It's very simple, you create a file, a sheet and after that you will only need to write the values (From the Java point of view, an XLS Sheet is a 2 dimension array)
dehhh
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 17, 2014, 03:07:13 AM
 #7

Take a look here, it will certainly help you out: http://www.mrexcel.com/forum/excel-questions/753144-visual-basic-applications-post-hashing-problem-btc-e.html
TinaK
Hero Member
*****
Offline Offline

Activity: 1106
Merit: 527



View Profile
November 17, 2014, 03:17:04 AM
 #8

great share, thx
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!