Author Topic: [ANN][AGS-PRASER] Open Source Angelshares-Blockchain-Parser  (Read 22944 times)

0 Members and 1 Guest are viewing this topic.

Offline Evan

  • Full Member
  • ***
  • Posts: 75
    • View Profile
  • BitShares: evan
Is the BTC parser updating properly?  I sent BTC to the AGS address yesterday, but the last entry on the BTC parser is dated 2013-12-29.

Edit:  I see it's updating now.
« Last Edit: January 01, 2014, 08:06:03 pm by Evan »

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Thanks for posting!
I see in the code it should reset for a new day but
http://q39.protoshar.es/ags/4/pts.txt
didn't output what the code should. Don't know if it's a bug or you're running different code, just wanted to point it out

Thanks for your feedback!

The code will reset every day. Note that all payments from 2013 are counted to Jan/01/2014. Thats why you dont see any reset yet.
« Last Edit: January 11, 2014, 04:10:49 pm by donschoe »

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Thanks for posting!
I see in the code it should reset for a new day but
http://q39.qhor.net/ags/pts.txt
didn't output what the code should. Don't know if it's a bug or you're running different code, just wanted to point it out
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
I've written a ruby parser which displays AGS donations in realtime by parsing the BTC and PTS blockchains.

It's open source and available on github. https://github.com/donSchoe/ags-parser

See realtime parsing on my demo site  (v0.4):
http://q39.protoshar.es/ags/4/pts.csv.txt
http://q39.protoshar.es/ags/4/btc.csv.txt
http://q39.protoshar.es/ags/3/balances.json

Using git to backup the chain every hour: http://git.jdqirc.net/donschoe/ags-datafeed
http://git.jdqirc.net/donschoe/ags-datafeed/raw/master/4/pts.csv.txt
http://git.jdqirc.net/donschoe/ags-datafeed/raw/master/4/btc.csv.txt
http://git.jdqirc.net/donschoe/ags-datafeed/raw/master/3/balances.json

You can use it to create some nice angelshares sites and push the community forward. I'm no frontend guy, but would be nice to see this in action. The text version is enough for my personal needs :D
It's the first time I tried to programmatically parse a blockchain, damn nice experience! But dont expect magic and be aware of bugs!

Report them to me or on github or use this testing thread: https://bitsharestalk.org/index.php?topic=1989.0

If you like it, feel free to send some Coins my way:
BTC: 1Bzc7PatbRzXz6EAmvSuBuoWED96qy3zgc
PTS: PcDLYukq5RtKyRCeC1Gv5VhAJh88ykzfka

Cheers!



Urgent: Upgrade to v0.4 immidiatly: v0.3 is bugged, v0.1 API is inaccurate and will be disabled.



Overview: Sites using my API so far, donate some some coins too, if you like them:

Yo @earthbound, a tip would be nice.

http://agsexplorer.com

More features will be added.

BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8
PTS: PgULYtxcDJM7SKABfECipFiSjrmtjiPQd9
If you found my PHP front end and source code useful (http://joelooney.org/ags/), you can tip me here (no pressure  :P)...

BTC:  16TsCgrKwQ3efzw6LkNuBHmvP6aJy21HGq
PTS:  PYDhxRmdd8YQdYLD757s7robuvafFdMARi

Thanks!

Note: this code will show the previous period's data until BTC and PTS donations are made in the current period.

Update: removed links to older versions.
« Last Edit: January 11, 2014, 04:08:08 pm by donschoe »