pyasic

BMMinerRPCAPI

Bases: CGMinerRPCAPI

An abstraction of the BMMiner API.

Each method corresponds to an API command in BMMiner.

BMMiner API documentation

This class abstracts use of the BMMiner API, as well as the methods for sending commands to it. The self.send_command() function handles sending a command to the miner asynchronously, and as such is the base for many of the functions in this class, which rely on it to send the command for them.

Source code in pyasic/rpc/bmminer.py
class BMMinerRPCAPI(CGMinerRPCAPI):
    """An abstraction of the BMMiner API.

    Each method corresponds to an API command in BMMiner.

    [BMMiner API documentation](https://github.com/jameshilliard/bmminer/blob/master/API-README)

    This class abstracts use of the BMMiner API, as well as the
    methods for sending commands to it.  The `self.send_command()`
    function handles sending a command to the miner asynchronously, and
    as such is the base for many of the functions in this class, which
    rely on it to send the command for them.
    """