BitShares Forum

Main => General Discussion => Topic started by: roadscape on March 30, 2016, 11:38:46 pm

Title: Cryptofresh API
Post by: roadscape on March 30, 2016, 11:38:46 pm
https://cryptofresh.com/api/docs

Stay tuned to this thread for notifications about API updates and potentially breaking changes.
Also feel free to use it for questions or requests!
Title: Re: Cryptofresh API
Post by: ebit on March 31, 2016, 12:01:25 am
 +5%
Title: Re: Cryptofresh API
Post by: xeroc on March 31, 2016, 07:06:21 am
+5%
Title: Re: Cryptofresh API
Post by: compumatrix on April 07, 2016, 02:18:32 am
Excellent job! Waiting for more!
Title: Re: Cryptofresh API
Post by: lovejoy on April 07, 2016, 02:44:43 am
 +5% well done!
Title: Re: Cryptofresh API
Post by: tbone on April 07, 2016, 02:59:30 am
Nice job.  Cryptofresh is a tremendous resource for this community.

I have a request that is not specifically related to the API.  It has to do with the charts.  The values that matter the most when it comes to assessing actual usage and rate of adoption of the DEX are 1) accounts created, 2) orders filled, and 3) transfers.  Can you consider making those the default values?  The others are nice to see sometimes, but really aren't nearly as meaningful. 

Also, would it be possible to show a 30-day moving average (when only one chart value is selected)?  That would be very nice to see.  Thanks for your consideration.
Title: Re: Cryptofresh API
Post by: bitacer on April 07, 2016, 09:46:50 am
Any progress on integrating logos for the assets? That would be really cool you know..
Title: Re: Cryptofresh API
Post by: roadscape on April 07, 2016, 03:25:32 pm
Thanks for the positive feedback!

@tbone I think this is a good point about the default ops on the charts, I've made the change and it will be in the next release. It looks better too. I've made a note about the 30-day MA, will keep it in mind as I break this chart out into more detailed ones.

@bitacer - I haven't forgotten about your request! But to do it properly we will need to locate/create images for all primary assets so they are all fairly represented and visually balanced. I haven't had time to be collect these images, maybe you could help organize such an effort? Ideally 16x16 PNGs for important assets here: https://cryptofresh.com/assets, as well as a nice default image for the others (it shouldn't be bold, and maybe there could be a different default image to distinguish UIA/PM/MPA)

Excellent job! Waiting for more!

Thanks, any specific API's you like to see added??
Title: Re: Cryptofresh API
Post by: tbone on April 07, 2016, 03:52:38 pm
@tbone I think this is a good point about the default ops on the charts, I've made the change and it will be in the next release. It looks better too. I've made a note about the 30-day MA, will keep it in mind as I break this chart out into more detailed ones.

Great.  Perhaps you'll also consider giving each of those 3 key measures of DEX progress their own mini chart.  For example, you could have 3 smaller charts below the main chart, each the width of the existing tables.  And you could rearrange the existing tables such that a) the right charts are adjacent to the right tables, and b) all of the tables are in the best orientation to each other.   See below as an example:


Code: [Select]
-----------------------------------------------------------------------------
|  orders filled CHART  |  Transfers CHART   |   Accounts Registered CHART  |
-----------------------------------------------------------------------------
|  Most orders filled   |  Most transfers    |   Most accounts registered   |
-----------------------------------------------------------------------------
|  Most orders placed   |  Most fees paid    |      Most referrals          |
-----------------------------------------------------------------------------
|  Most assets created  |  Most assets held  |      Most operations         | 
-----------------------------------------------------------------------------
Title: Re: Cryptofresh API
Post by: roadscape on April 07, 2016, 04:24:53 pm
That looks like a good way to organize it, thanks @tbone. I may end up breaking it out into pages once I add charts for some of the useful queries I have laying around.

@all: please put any further feedback not related to API in this thread: https://bitsharestalk.org/index.php/topic,19507.0.html -- trying to keep this thread clean so people can subscribe to API change notifications. Thanks!
Title: Re: Cryptofresh API
Post by: paliboy on April 15, 2016, 01:02:38 pm
Thanks, any specific API's you like to see added??

API for order book of various traiding pairs would be awesome.
Title: Re: Cryptofresh API
Post by: dannotestein on April 15, 2016, 03:39:20 pm
A moving average would be nice for the charts to show long term trends
Title: Re: Cryptofresh API
Post by: JA on April 15, 2016, 03:45:05 pm
Would be nice i you could add 24 hour statistics like...
users registered, bts volume traded,  assets created, transactions processes etc...
Title: Re: Cryptofresh API
Post by: bang-king on April 19, 2016, 02:25:09 am
@roadscape  +5%  I would support a worker proposal for you to redesign our current exchange GUI.
Title: Re: Cryptofresh API
Post by: roadscape on April 19, 2016, 11:26:46 pm
Thanks @bang-king  :) I haven't had a chance to mess around with any web wallet code yet, not sure what the learning curve is like! But I would enjoy such a project.

Thanks, any specific API's you like to see added??

API for order book of various traiding pairs would be awesome.

Do you need orders or just depth? I added a depth API recently but haven't documented it yet:
https://cryptofresh.com/api/market/depth?pair=BTS_USD

Would be nice i you could add 24 hour statistics like...
users registered, bts volume traded,  assets created, transactions processes etc...

Great ideas.. I will include these "quick stats" as I tidy up the front page

A moving average would be nice for the charts to show long term trends

Are you referring to price charts, operation-types charts, or both?
Title: Re: Cryptofresh API
Post by: nmywn on July 12, 2016, 09:11:13 pm
https://cryptofresh.com/api/asset/markets?asset=BTS

Any chance for more frequent updates at least for most volume markets? 
Title: Re: Cryptofresh API
Post by: xeroc on July 13, 2016, 01:29:32 pm
@roadscape is no with steemit Inc and with the current rush on Steem, I don't think he will find the time to do this .. :(
Title: Re: Cryptofresh API
Post by: Yao on August 21, 2016, 02:45:54 pm
@roadscape Why cryptofresh.com didn't offer a view of multi signature transactions? The GUI wallet not offer too, very inhuman!

Each one of multi-signer need to know the detail of the multi-sig transaction to prevent cheating.

Another question:
Why the previous committee proposal can not query to? cryptofresh.com says "Page not found".
Title: Re: Cryptofresh API
Post by: IdoKrauss on September 02, 2016, 11:17:35 am
hey guys, just added the api and i noticed several errors
the major one is incorrect data on depth call

https://cryptofresh.com/api/market/depth?pair=OBITS_OPEN.BTC{"bid":[[7.0000001e-05,83818.2988],[9.0e-05,81937.4701],[9.001e-05,81712.4701],[0.0001,11176.597399999999],[0.00011,5176.5974],[0.000145000003,5076.597299999999],[0.000147110009,1628.3215],[0.000165,948.5581],[0.000172000209,32.5581],[0.0002,5076.5974]],"ask":[[0.00019989999,1000.0],[0.000199899992,2280.0978999999998],[0.0002,22280.0979],[0.000205,42280.0979],[0.00021,65048.345799999996],[0.000215,100048.3458],[0.00023,100053.3458],[0.000239999985,100583.238],[0.00024,100957.238],[0.00025,106962.238],[0.00028,106967.238],[0.0003,107230.7699],[0.0004,107270.7699],[0.0008,110290.7699],[0.002,111122.4281],[0.0023,112207.4281],[0.0025,122207.4281],[0.25,123207.4281],[0.999999999988,124029.85310000001]]}highest bid ([0.0002,5076.5974]) is higher than lowest ask ([0.00019989999,1000.0]), 0.0002 bid dose not exist for some time now but api is not updated correctly)

same issue can be found in bitSILVER/BTS market - https://cryptofresh.com/api/market/depth?pair=SILVER_BTS - (bid: [5000.0,89.35770000000001], ask: [3350.0,6.3576])

is there any way someone can fix this? or should i rely on parsnig the html from the site https://cryptofresh.com/a/OBITS_OPEN.BTC (which seems correct)

cheers = ]
Title: Re: Cryptofresh API
Post by: xeroc on September 02, 2016, 03:12:36 pm
Is @roadscape still alive? Last I heard was that he was hired by Steemit for frontend stuff .. don't know what happend to him
Title: Re: Cryptofresh API
Post by: lil_jay890 on September 02, 2016, 03:14:11 pm
He also hasn't fixed the Market Cap bug on cryptofresh.... BTS's market cap hasn't changed in the last couple months.
Title: Re: Cryptofresh API
Post by: IdoKrauss on September 02, 2016, 10:30:16 pm
 =(
(https://pbs.twimg.com/media/CNcDQL9VAAAh-BQ.jpg)
Title: Re: Cryptofresh API
Post by: Chris4210 on September 03, 2016, 01:22:23 pm
If @roadscape is not active anymore then we need to create a second blockchain explorer for Bitshares?
Title: Re: Cryptofresh API
Post by: nomoreheroes7 on September 03, 2016, 02:27:28 pm
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.
Title: Re: Cryptofresh API
Post by: paliboy on September 03, 2016, 07:11:08 pm
@roadscape, if you don't work on Cryptofresh anymore, would you be willing to open-source it?
Title: Re: Cryptofresh API
Post by: ripplexiaoshan on September 04, 2016, 03:25:30 pm
@roadscape, if you don't work on Cryptofresh anymore, would you be willing to open-source it?

Anyone can contact him? He has been inactive for over two months on this forum
Title: Re: Cryptofresh API
Post by: KenMonkey on September 04, 2016, 06:30:00 pm
The cryptofresh explorer has been broken for some time. Maybe @roadscape is finally fixing it. I did send him a message to his bitshares account. The bitUSD and bitCNY volumes have been showing a bit fat ZERO on Coinmarketcap.com for quite some time, which is clearly false.

Hopefully he is fixing it. Otherwise we need to make a new block explorer. Preferably 2-3 and quickly.

no use complaining here, we need to take action. Maybe open a worker proposal to make a new one if cryptofresh is not back up in a day.

In the meantime, lets be clear, the explorer having difficulties does not mean anything is wrong with the blockchain. Bitshares is working perfectly as usual. If you need to see some transaction go through or watch the chain you can access the explorer on OpenLedger or the bitshares light-client.
Title: Re: Cryptofresh API
Post by: onceuponatime on September 04, 2016, 07:47:39 pm
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

I had a long skype conversation with @roadscape when his Cryptofresh worker was voted out.

That worker had been paying him a very meager salary for the building of cryptofersh and for its maintenance and upgrades (especially considering the long hours and on call, round the clock, nature of the work he had been doing). He spent huge amounts of uncompensated time on developing Cryptofresh before he asked for some worker pay for maintenance and upgrades. He was absolutely dedicated and was thus devastated by being voted out.

Steemit has given back to @roadscape his confidence, dignity and some remuneration for his efforts. All the things that were not given to him by Bitshares "investors".

Some Bitshares "investors" appear to have have kicked themselves in the nuts. Unfortunately, the consequences of their actions are not confined to themselves but have hurt all of us loyal bitshares holders.
Title: Re: Cryptofresh API
Post by: nmywn on September 04, 2016, 08:57:26 pm
How much he want for open that code?
Title: Re: Cryptofresh API
Post by: bitcrab on September 05, 2016, 08:48:30 am
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

I had a long skype conversation with @roadscape when his Cryptofresh worker was voted out.

That worker had been paying him a very meager salary for the building of cryptofersh and for its maintenance and upgrades (especially considering the long hours and on call, round the clock, nature of the work he had been doing). He spent huge amounts of uncompensated time on developing Cryptofresh before he asked for some worker pay for maintenance and upgrades. He was absolutely dedicated and was thus devastated by being voted out.

Steemit has given back to @roadscape his confidence, dignity and some remuneration for his efforts. All the things that were not given to him by Bitshares "investors".

Some Bitshares "investors" appear to have have kicked themselves in the nuts. Unfortunately, the consequences of their actions are not confined to themselves but have hurt all of us loyal bitshares holders.

sorry to hear this, @roadscape did great job, he deserve the payment and respect.
Title: Re: Cryptofresh API
Post by: KenMonkey on September 05, 2016, 09:15:51 am
Crypto fresh is back online but the volumes reported are still wrong. @roadscape should make a new worker! Don't get discouraged! We love you and cryptofresh is awesome.
Title: Re: Cryptofresh API
Post by: tehdos on September 05, 2016, 09:30:22 am
Crypto fresh is back online but the volumes reported are still wrong. @roadscape should make a new worker! Don't get discouraged! We love you and cryptofresh is awesome.
+1
Title: Re: Cryptofresh API
Post by: xeroc on September 06, 2016, 08:38:27 am
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.
I respectfully disagree .. thanks to steem I now have the money required to setup a legal company here in Germany and go more public with what I do .. that includes business development for BitShares ..
Title: Re: Cryptofresh API
Post by: lil_jay890 on September 09, 2016, 01:59:06 pm
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

I had a long skype conversation with @roadscape when his Cryptofresh worker was voted out.

That worker had been paying him a very meager salary for the building of cryptofersh and for its maintenance and upgrades (especially considering the long hours and on call, round the clock, nature of the work he had been doing). He spent huge amounts of uncompensated time on developing Cryptofresh before he asked for some worker pay for maintenance and upgrades. He was absolutely dedicated and was thus devastated by being voted out.

Steemit has given back to @roadscape his confidence, dignity and some remuneration for his efforts. All the things that were not given to him by Bitshares "investors".

Some Bitshares "investors" appear to have have kicked themselves in the nuts. Unfortunately, the consequences of their actions are not confined to themselves but have hurt all of us loyal bitshares holders.

It's the steem "investors" who have been kicked in the nuts lately.

So weird that a getting paid to upvote forum posts isn't working out... Hopefully roadscape was able to sell to the steem bagholders.

 I would support a worker proposal for roadscape to maintain the block explorer.  Even if it is just an advertisement to show that the bts worker proposal system works effectively (much better than the steem print "value" out of thin air system).
Title: Re: Cryptofresh API
Post by: nmywn on September 13, 2016, 04:11:21 pm
BTW we have 0 zero active workers right now.
Title: Re: Cryptofresh API
Post by: dannotestein on September 13, 2016, 04:34:18 pm
BTW we have 0 zero active workers right now.
While our Blockchain maintenance worker is no longer technically active, it's got a decent amount of BTS reserved there for future work as needed. As soon as we free up from our current work on peerplays prototype test net, we'll merge in the dividend feature we've added (assuming there's no objections).

As far as I know, OpenLedger is internally funding improvements to their version of the web wallet.
Title: Re: Cryptofresh API
Post by: nmywn on September 13, 2016, 04:40:15 pm
Yes, noticed that Openledger working on their own gui and i like those changes. What about @svk? Do you know his plans?
Title: Re: Cryptofresh API
Post by: dannotestein on September 13, 2016, 05:16:59 pm
Yes, noticed that Openledger working on their own gui and i like those changes. What about @svk? Do you know his plans?
I haven't spoken with him about it, so don't know. Hopefully he will create a new worker.
Title: Re: Cryptofresh API
Post by: nmywn on September 13, 2016, 05:34:13 pm
Thank you.
Title: Re: Cryptofresh API
Post by: svk on September 14, 2016, 11:37:59 am
Yes, noticed that Openledger working on their own gui and i like those changes. What about @svk? Do you know his plans?

I'll probably make another worker but it has to wait a little since I don't have much time right now for it.

I'll be making a final release for this worker period soon though even if it's expired as there's some work that's yet to be included in a release.
Title: Re: Cryptofresh API
Post by: KenMonkey on September 30, 2016, 02:25:13 pm
Cryptofresh is broken. Now it's not registering any activity or volume. What's going on? Can someone start a worker to create a new blockchain explorer?
I've been checking out the cryptofresh code on github to start doing it and downloading the graphene packages but I need help if I'm going to try to create a blockchain explorer.
@svk would it be possible to make a web page out of just the "explorer" part of the bitshares wallet? Maybe have some API calls that CMC could use to get the volume and price?
I don't know what it will take to get this fixed but I know that projects built on bitshares like blockpay need a solid blockchain explorer. @kenCode

PM me if you know how to get hold of @roadscape, if you want to start a worker to create a new blockchain explorer, or if you want to help me create one. I don't know how to program well but I can do python and I'd love to learn. Lets get going on this.

:)
Title: Re: Cryptofresh API
Post by: lil_jay890 on September 30, 2016, 03:55:05 pm
Cryptofresh is broken. Now it's not registering any activity or volume. What's going on? Can someone start a worker to create a new blockchain explorer?
I've been checking out the cryptofresh code on github to start doing it and downloading the graphene packages but I need help if I'm going to try to create a blockchain explorer.
@svk would it be possible to make a web page out of just the "explorer" part of the bitshares wallet? Maybe have some API calls that CMC could use to get the volume and price?
I don't know what it will take to get this fixed but I know that projects built on bitshares like blockpay need a solid blockchain explorer. @kenCode

PM me if you know how to get hold of @roadscape, if you want to start a worker to create a new blockchain explorer, or if you want to help me create one. I don't know how to program well but I can do python and I'd love to learn. Lets get going on this.

:)

I believe blockpay is planning on building their own explorer...  It would be foolish of them to use a 3rd party block explorer that was just some guys pet project.
Title: Re: Cryptofresh API
Post by: kenCode on September 30, 2016, 04:45:13 pm
Cryptofresh is broken. Now it's not registering any activity or volume. What's going on? Can someone start a worker to create a new blockchain explorer?
I've been checking out the cryptofresh code on github to start doing it and downloading the graphene packages but I need help if I'm going to try to create a blockchain explorer.
@svk would it be possible to make a web page out of just the "explorer" part of the bitshares wallet? Maybe have some API calls that CMC could use to get the volume and price?
I don't know what it will take to get this fixed but I know that projects built on bitshares like blockpay need a solid blockchain explorer. @kenCode

PM me if you know how to get hold of @roadscape, if you want to start a worker to create a new blockchain explorer, or if you want to help me create one. I don't know how to program well but I can do python and I'd love to learn. Lets get going on this.

:)

There is no need to create a whole new cryptofresh site.
If we can find a way to fund it (and i mentioned this today to btswolf) then Bitshares core development, new features, the web based block explorer and a slew of other things may need to be taken over by BitShares Munich for a short time. We would need enough money to pay for 2 years of hosting cryptofresh and the vps that will manage it (so no humans are required anymore). Getting worker proposals fixed (according to btswolf), adding the new dividends feature, these things must come first, so that if we have to do a fundraiser with a UIA for bitshares then at least we know those people who buy the token will get dividends on that purchase but right now there is no way for anyone to get a return really on investing in core dev for Bitshares.
Title: Re: Cryptofresh API
Post by: KenMonkey on October 01, 2016, 06:25:33 pm
A block explorer doesn't seem like an awfully complex thing. The code for cryptofresh is public, right? We can just put up a duplicate called supafresh or something. Maybe we stick some ads on the site to help pay for it, or have a small worker that keeps it running. If the worker gets defunded the website shuts down. How much does keeping a website online cost? How do other coins without UIAs and workers get sometimes 3 separate block explorers?

At least we do still have the bitshares wallet explorer. You can see all the blocks here:  https://bitshares.openledger.info/#/block/9000055

Although it looks now like cryptofresh is working!! Who knows for how long. But whatever! celebrate! We have reported volume on bitUSD and bitCNY for the first time in awhile and we just passed block 10 million. Thumbs up to a bright future for Bitshares.
Title: Re: Cryptofresh API
Post by: Murderistic on November 03, 2016, 10:00:27 pm
 +5%
Title: Re: Cryptofresh API
Post by: GChicken on November 04, 2016, 02:30:18 pm
+5%
;)
Title: Re: Cryptofresh API
Post by: andrajoseph on November 17, 2016, 10:05:03 am
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?     

Tableau Course (https://goo.gl/NlMEKP)  |  Devops Training Center in Chennai (https://goo.gl/ZTcqZ4)  |  Best Informatica Training Institute in Chennai (https://goo.gl/9GEsfT) | Hadoop Course in Chennai (https://goo.gl/u8P6ME) |  R Programming Course in Chennai (https://goo.gl/SPNlXO)
Title: Re: Cryptofresh API
Post by: xeroc on November 17, 2016, 11:03:57 am
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?     

Tableau Course (https://goo.gl/NlMEKP)  |  Devops Training Center in Chennai (https://goo.gl/ZTcqZ4)  |  Best Informatica Training Institute in Chennai (https://goo.gl/9GEsfT) | Hadoop Course in Chennai (https://goo.gl/u8P6ME) |  R Programming Course in Chennai (https://goo.gl/SPNlXO)
Absulutely possible and available today:
docs.bitshares.eu/integrate
Title: Re: Cryptofresh API
Post by: compumatrix on November 20, 2016, 01:32:03 pm
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?     

Tableau Course (https://goo.gl/NlMEKP)  |  Devops Training Center in Chennai (https://goo.gl/ZTcqZ4)  |  Best Informatica Training Institute in Chennai (https://goo.gl/9GEsfT) | Hadoop Course in Chennai (https://goo.gl/u8P6ME) |  R Programming Course in Chennai (https://goo.gl/SPNlXO)
Absulutely possible and available today:
docs.bitshares.eu/integrate

I believe the link is docs.bitshares.eu/integration/
Title: Re: Cryptofresh API
Post by: wizitsolv on March 07, 2019, 09:24:48 am
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?   

[https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/]DevOps Training in Kukatpally[/url] | <a href="https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/">DevOps Training in kukatpally</a>
Title: Re: Cryptofresh API
Post by: xeroc on March 07, 2019, 02:16:12 pm
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?   

[https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/]DevOps Training in Kukatpally[/url] | <a href="https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/">DevOps Training in kukatpally</a>
Sure BitShares backends come with websocket/HTTP rpc interface. Example:
Code: [Select]
curl --data '{"method": "call", "params": [0, "get_dynamic_global_properties", []], "jsonrpc": "2.0", "id": 1}' https://node.bitshares.eu
Title: Re: Cryptofresh API
Post by: ravina on July 22, 2019, 12:35:41 pm
Actually This is very great thinks. It was very comprehensive post and powerful concept. Thanks for your sharing with us. Keep it up..
Oracle Course in Chennai (https://www.softlogicsys.in/oracle-training-in-chennai/) | Oracle Training Institute in Chennai (https://www.softlogicsys.in/oracle-training-in-chennai/)