Other > OpenLedger

API call on Openledger?

(1/2) > >>

xeroc:

--- Quote from: jza on August 09, 2016, 05:35:20 am ---Great any documentation on the methods, can I get a trading pair, get last/bid/ask prices? or query the order book?

--- End quote ---
docs.bitshares.eu/api/
or via python-graphene:
http://python-graphenelib.readthedocs.io/en/develop/exchange.html

jza:
Great any documentation on the methods, can I get a trading pair, get last/bid/ask prices? or query the order book?

xeroc:

--- Code: ---curl --data '{"jsonrpc":"2.0","method":"call", "params":[0, "get_global_properties", [""]],"id":0}' https://bitshares.openledger.info/ws
--- End code ---

jza:
I just get this:

--- Code: ---11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 peek

    {"str":""}
    th_a  json.cpp:478 from_string
--- End code ---

speedy:
Hmm I figured it out - url is https://bitshares.openledger.info/ws/ and api params are in the POST.

Navigation

[0] Message Index

[#] Next page

Go to full version