rocketchat.calls package

Submodules

rocketchat.calls.base module

class rocketchat.calls.base.PostMixin

Bases: object

method = 'post'
class rocketchat.calls.base.RocketChatBase(settings=None, *args, **kwargs)

Bases: object

auth_token = None
auth_user_id = None
build_endpoint(**kwargs)

Build the endpoint for the user given some kwargs from the initial calling.

Returns:
build_payload(**kwargs)

Build a payload dict that will be passed directly to the endpoint. If you need to pass this as plain text or whatever you’ll need to the dumping here.

Returns:
call(*args, **kwargs)
Parameters:
  • args
  • kwargs
Returns:

endpoint = None
headers = {}
logoff()
method = 'get'
post_response(result)
set_auth_headers()
set_auth_token()
settings = None

Module contents