code: def add_application(self, application_id, **kwargs):
          
          path = 'group/%s/application' % self.id
  
          data = {'application_id': application_id}
          if kwargs:
              data["options"] = kwargs
  
          self.api.request(path, data)
docs: Add an application to a group.
  
          `application_id` is the name of the application to add. Any
          application options can be specified as kwargs.