gopeed_api
library
Functions
-
continueABatchOfTasks(String host, {List<String>? id, List<String>? status, List<String>? notStatus})
→ Future<Response>
-
Gopeed api: Continue a batch of tasks.
method: PUT
-
continueATask(String host, String id)
→ Future<Response>
-
Gopeed api: Continue a task.
method: PUT
-
createABatchOfBtTasks(String host, List<String> fileUrlList, {String? fileName, String? filePath, List<int>? selectFiles, int? connections, bool? autoTorrent, List<List<String>>? trackersList, List<Map<String, String>>? labelsList})
→ Future<Response>
-
Gopeed api: Create a batch of tasks.
method: POST
-
createABatchOfHttpTasks(String host, List<String> fileUrlList, {String? fileName, String? filePath, List<int>? selectFiles, int? connections, bool? autoTorrent, List<String>? methodList, List<String>? bodyList, List<Map<String, String>>? labelsList})
→ Future<Response>
-
Gopeed api: Create a batch of tasks.
method: POST
-
createABtTask(String host, String ridOrFileUrl, {String? fileName, String? filePath, List<int>? selectFiles, int? connections, bool? autoTorrent, List<String>? trackers, Map<String, String>? labels, bool useRid = false})
→ Future<Response>
-
Gopeed api: Create a task.
method: POST
-
createAHttpTask(String host, String ridOrFileUrl, {String? fileName, String? filePath, List<int>? selectFiles, int? connections, bool? autoTorrent, String? method, String? body, Map<String, String>? labels, bool useRid = false})
→ Future<Response>
-
Gopeed api: Create a task.
method: POST
-
deleteATask(String host, String id, {bool? force})
→ Future<Response>
-
Gopeed api: Delete a task.
method: DELETE
-
deleteTasks(String host, {List<String>? id, List<String>? status, List<String>? notStatus, bool? force})
→ Future<Response>
-
Gopeed api: Delete tasks.
method: DELETE
-
getServerInfo(String host)
→ Future<Response>
-
Gopeed api: Get server info.
method: GET
-
getTaskInfo(String host, String id)
→ Future<Response>
-
Gopeed api: Get task info.
method: GET
-
getTaskList(String host, {List<String>? id, List<String>? status, List<String>? notStatus})
→ Future<Response>
-
Gopeed api: Get task list.
method: GET
-
getTaskStats(String host, String id)
→ Future<Response>
-
Gopeed api: Get task stats.
method: GET
-
pauseABatchOfTasks(String host, {List<String>? id, List<String>? status, List<String>? notStatus})
→ Future<Response>
-
Gopeed api: Pause a batch of tasks.
method: PUT
-
pauseATask(String host, String id)
→ Future<Response>
-
Gopeed api: Pause a task.
method: PUT
-
resolveABtRequest(String host, String fileUrl, {List<String>? trackers, Map<String, String>? labels})
→ Future<Response>
-
Gopeed api: Resolve a request.
method: POST
-
resolveAHttpRequest(String host, String fileUrl, {String? method, String? body, Map<String, String>? labels})
→ Future<Response>
-
Gopeed api: Resolve a request.
method: POST