text: #!/usr/bin/env python
  # encoding: utf-8
  '''
  融云 Server API Python 客户端
  create by kitName
  create datetime : 2016-10-20 
    
  v2.0.1 
  '''
  import os
  from .user import User
  from .message import Message
  from .wordfilter import Wordfilter
  from .group import Group
  from .chatroom import Chatroom
  from .push import Push
  from .sms import SMS
  
  
  class RongCloud:
      def __init__(self, app_key=None, app_secret=None):
          if app_key is None:
              app_key = os.environ.get('APP_KEY', '')
          if app_secret is None:
              app_secret = os.environ.get('APP_SECRET', '')
          self.User = User(app_key, app_secret)
          self.Message = Message(app_key, app_secret)
          self.Wordfilter = Wordfilter(app_key, app_secret)
          self.Group = Group(app_key, app_secret)
          self.Chatroom = Chatroom(app_key, app_secret)
          self.Push = Push(app_key, app_secret)
          self.SMS = SMS(app_key, app_secret)
  