-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get listed on nomics.com #16
Comments
|
I am sorry to insist with the same but i think this can be done in the context of https://github.com/bitshares/bitshares-explorer-api by providing optional dedicated endpoints. For example someone having the api explorer: https://explorer.bitshares-kibana.info/apidocs/ already haves dedicated ES functions like: Additionally in this case we can have dedicated optional endpoints to serve nomics like: I think is our faster way to get started with this integrations while we bump a tool that was created for the purpose instead of making separated integrations with different technologies for it. Bitshares Explorer api is mainly python, pretty easy to work with once you understand how the stuff is organized, it is not only me who haves knowledgable in the subject but also @Zapata (bitshares witness) that had collaborated massively and i am sure he will like to do more. Bitshares explorer connects to ES to get some results however the ES server can be remote or bitshares-eplorer-api can work without those ES calls and just use a normal node, what i mean is that ES is not an impediment anymore to run bitshares-explorer-api as public ES servers can be used for the purpose. I think the same should be done for CMC and others #12 If we go forward that way, i think we should open an issue to add the nomics calls here: |
Don't be sorry. Did anyone say it won't be in there? I am mainly waiting to hear back from nomics on couple detail questions on the API, then I would have pinged you. If you want, please go ahead and integrate this API. Changes would be marginal if any derived from feedback |
The |
I created a pull request and updated the current code so we can go over it, there a few issues to solve/ask. http://185.208.208.184:5001/apidocs/#/nomics
First, the typical node will save just 3 days of trade data. Second, the way they want the trades to be sorted and the functionality of the So right now the Cache was added to the Open for comments. Thanks. |
On markets: Zapata was nice to make this for me How is the behavior of the node regarding same market? Is BTS/CNY CNY/BTS grouped? |
On the pagination: What kind of pagination could we offer that is inline with our backend nodes? |
Our pagination is backwards from what they want. The sequence number we use in We iterate the trades from the last trade and go back, they need the iteration to get the most older trades first and go up in time with the |
Would that be a problem is we use ES for that query? Would be preferable anyways because then we have access to the full trade history? |
The approach with ES will be totally different, we dont have trade data so we need to go over the fill orders. Still, it will just be a matter to do the right ES queries. We should not have performance or pagination issues with ES. |
They are grouped. The |
My comments are in the pull request. |
Updated live version with the last commits(http://185.208.208.184:5001/apidocs/#!/nomics/api_nomics_info). By now some better data added to |
Should we offer an API with full history, or start with the normal market history that a node provides? |
I updated the Thank you. |
Forwarded |
Thank you @sschiessl-bcp @sschiessl-bcp and I are in a telegram group with nomics for integration. We had to make a few small changes to what we have, mainly some type responses issues that should be numbers/string at some cases and that we had wrong. Easy stuff. But the most significant change is in the market calls. I hardcoded the markets we are displaying into just a few to keep moving the integration but we are not limited to just this:
The problem is they consider for example We can display this markets, but only 1, they will remove the prefix, so for example for bitcoin we maybe use This haves to be discussed and decided(what gateway we use for each coin we want to show in nomics website). I hardcoded the markets as i think it will be the easier, added just a few markets with smart assets that we know and want to be there but more markets should be added to the list. |
@oxarbitrage completed the integration (awesome, and thanks!), and nomics has validated it already. @dls-cipher can you please make the nomics endpoints of https://explorer.bitshares-kibana.info/apidocs/#/ available under api.bitshares.org (or similar name)? Such that I can do api.bitshares.org/nomics/info and such Once the infrastructure ES cluster is synced, we can install the bitshares explorer api as well and use them for the domain to not overload Alfredo's server |
Is there a summary about what APIs we have provided to nomics? Are they using our public API endpoints, or have their own nodes and API nodes? I'd like to have a document listing all typical APIs which are interested by similar platforms to guide other platforms to add us. The https://explorer.bitshares-kibana.info/apidocs/#/ site is huge, but with no description, doesn't help much for this purpose. |
The text was updated successfully, but these errors were encountered: