Bitcoin Forum
February 24, 2018, 02:57:11 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin Price App  (Read 1433 times)
skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 23, 2013, 03:12:03 AM
 #1

So i'm a total noob at programming, I just started with visual basic trying to create a windows app for getting the current price of bitcoin.

So far i have created this app here - http://www.filedropper.com/btcpriceapp_1 available for testing, It's free software released under the GPLv3.

So far all it it is is a simple windows form app witch has a function to connect to campbx.com/api/xticker.php fetch the current price data and display it in a textbox.

The data it grabs is in json format and like i said im very new to programming so json deserialization is a bit over my head right now, But if anyone can help me out with that it would be a great way for me to learn and we could provide the bitcoin community with a nice free app for windows to easily get the price of bitcoin.
1519441031
Hero Member
*
Offline Offline

Posts: 1519441031

View Profile Personal Message (Offline)

Ignore
1519441031
Reply with quote  #2

1519441031
Report to moderator
1519441031
Hero Member
*
Offline Offline

Posts: 1519441031

View Profile Personal Message (Offline)

Ignore
1519441031
Reply with quote  #2

1519441031
Report to moderator
1519441031
Hero Member
*
Offline Offline

Posts: 1519441031

View Profile Personal Message (Offline)

Ignore
1519441031
Reply with quote  #2

1519441031
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Ditto
Sr. Member
****
Offline Offline

Activity: 330
Merit: 250


View Profile
March 23, 2013, 11:04:04 AM
 #2

That link contains a .sln file, not the actual app.

There are plenty of .Net libraries for unserializing JSON - Take a look at http://json.codeplex.com/ for a library and http://forums.asp.net/t/1699212.aspx/1 for some simple code examples.
skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 23, 2013, 02:26:00 PM
 #3

That link contains a .sln file, not the actual app.

There are plenty of .Net libraries for unserializing JSON - Take a look at http://json.codeplex.com/ for a library and http://forums.asp.net/t/1699212.aspx/1 for some simple code examples.

Thanks for replying, I took a look at those examples and it still look sort of complicated, I'm still learning functions and classes, Maybe if i had a working example i could better understand what exactly is going on in the code at http://forums.asp.net/t/1699212.aspx/1.

I updated the link in the first post it should have all the files now.
skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 24, 2013, 02:39:09 AM
 #4

Here is the .exe program http://www.filedropper.com/btcpriceapp_2 , It's doesn't deserialize the data but it could still be useful for windows 8 users like myself that can't use conky or gadgets.

Screenshot

Ditto
Sr. Member
****
Offline Offline

Activity: 330
Merit: 250


View Profile
March 24, 2013, 04:27:47 AM
 #5



https://gist.github.com/anonymous/5230545
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
March 24, 2013, 12:13:05 PM
 #6

I think you can run Phonegap on the desktop as well?

So this app would work, too?

https://bitcointalk.org/index.php?topic=135392.0

And converting it to gox would require minor modifications...

skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 24, 2013, 02:42:05 PM
 #7

Very nice Ditto!

I think this will help me to understand JSON now that i see a working example of what it actually does.
Ditto
Sr. Member
****
Offline Offline

Activity: 330
Merit: 250


View Profile
March 24, 2013, 04:21:45 PM
 #8

Very nice Ditto!

I think this will help me to understand JSON now that i see a working example of what it actually does.
Make sure your .Net framework is on version 3.5 or above since the deserializer isn't available in earlier versions.
skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 24, 2013, 06:25:04 PM
 #9

Very nice Ditto!

I think this will help me to understand JSON now that i see a working example of what it actually does.
Make sure your .Net framework is on version 3 or above since the deserializer isn't available in earlier versions.

Will VB 2010 Detect what framework i'm using or do i have to activate it in VB 2010 someway?
skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 27, 2013, 02:03:05 AM
 #10

Added some more stuff to it to make it more useful, I would have added the mt.gox api but it look incorrectly formatted so i left it out.

You can download it here - https://sourceforge.net/projects/btcpriceapp/

MagicBit15
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


Let's Start a Cryptolution!!


View Profile
March 27, 2013, 10:40:28 AM
 #11

I need to get back into this, I use to love programming in high school. I want to learn PHP so bad!!

Tips for Tips: 1Jy8ZycPNjnwNLevNwoRRqPAKkZ8Fqnukc
I won the poetry contest!! https://bitcointalk.org/index.php?topic=219714.40 Thank You, Sir Lambert!!
+5 Rep: Successful Forum Transactions: https://bitcointalk.org/index.php?topic=176117.0  https://bitcointalk.org/index.php?topic=209024.0 https://bitcointalk.org/index.php?topic=233052 Check My Rep!!
skilo
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250



View Profile
March 27, 2013, 12:08:33 PM
 #12

I need to get back into this, I use to love programming in high school. I want to learn PHP so bad!!

For me the hard part about programming isn't writing the code its just trying to find a project to work on, It seems most of the stuff i would be interested in has already been created.

I made this app (With some help) because i wanted to learn VB and at the same time i have an actual need for it since im on windows 8 i don't have gadgets and since im not on linux i cant use conky so i wanted a fast way to price data about bitcoin without having to fire up a browser and type in an address.

Making this little app has been a good learning experience for me i know that much.
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!