def _rpc_version(self):
        if self._client:
            return self._client.rpc_version
        return 2
Get the Transmission RPC API version.
dataset/ETHPy150Open correl/Transmission-XBMC/resources/lib/transmissionrpc/torrent.py/Torrent._rpc_version