capmonster-python docs

class Capmonster

class Capmonster

Methods

get_balance

  • Does not have any specific parameter, returns the current balance of specified api key.

get_task_result

  • Get task's result. Returns a dictionary if task is ready, else returns false
ParameterTypeRequiredDefault valuePurpose
task_idIntegerYes-ID which was obtained in createTask method

join_task_result

  • Get task's result. Returns a dictionary if task is ready, else raise CapmonsterException with error code MAXIMUM_TIME_EXCEED
ParameterTypeRequiredDefault valuePurpose
task_idIntegerYes-ID which was obtained in createTask method
maximum_timeIntegerNo120

join_task_result_async

  • Get task's result. Returns a dictionary if task is ready, else raise CapmonsterException with error code MAXIMUM_TIME_EXCEED
ParameterTypeRequiredDefault valuePurpose
task_idIntegerYes-ID which was obtained in createTask method
maximum_timeIntegerNo120

All task classes are inherits the Capmonster class.

Edit this page on GitHub