bitween.components.web.api package¶
Submodules¶
bitween.components.web.api.bt module¶
BitTorrent related functions of the JSONRPCAPI
-
bitween.components.web.api.bt.add_path(path='')[source]¶ create a torrent by path
Parameters: path – Path of folder or file to share Returns:
-
bitween.components.web.api.bt.add_torrent_by_hash(hash, save_path)[source]¶ add a new torrent based on hash
Parameters: - hash – hash of the torrent
- save_path – path to save the torrent
Returns: