Author Topic: API  (Read 1243 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

The GUI is completely powered by a local API but the PORT, USER, and PASSWORD are randomly generated every time you launch the client.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Can I connect to some bitshares api? When I run bitshares, does it open some port I can send RPC to?
not automatically .. If you run the CLI version there is a --rpcport --rpcuser --rpcpasswd which you can use .. in the gui you may be able to enable the RPC via some command in the console too ..

Take a look at this
https://github.com/xeroc/pytshares/blob/master/btsrpcapi.py
to see who you can work with it in python

Offline XsharesO

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
API
Can I connect to some bitshares api? When I run bitshares, does it open some port I can send RPC to?