def create_external_feed_groups(self, url, group_id, header_match=None, verbosity=None):
        """
        Create an external feed.

        Create a new external feed for the course or group.
        """
        path = {}
        data = {}
        params = {}

        # REQUIRED - PATH - group_id
        """ID"""
        path["group_id"] = group_id

        # REQUIRED - url
        """The url to the external rss or atom feed"""
        data["url"] = url

        # OPTIONAL - header_match
        """If given, only feed entries that contain this string in their title will be imported"""
        if header_match is not None:
            data["header_match"] = header_match

        # OPTIONAL - verbosity
        """Defaults to "full""""
        if verbosity is not None:
            self._validate_enum(verbosity, ["full", "truncate", "link_only"])
            data["verbosity"] = verbosity

        self.logger.debug("POST /api/v1/groups/{group_id}/external_feeds with query params: {params} and form data: {data}".format(params=params, data=data, **path))
        return self.generic_request("POST", "/api/v1/groups/{group_id}/external_feeds".format(**path), data=data, params=params, single_item=True)
def create_external_feed_groups ( self , url , group_id , header_match = None , verbosity = None ) : path = { } data = { } params = { } """ID""" path [ "group_id" ] = group_id """The url to the external rss or atom feed""" data [ "url" ] = url """If given, only feed entries that contain this string in their title will be imported""" if header_match is not None : data [ "header_match" ] = header_match """Defaults to "full""" " if verbosity is not None : self . _validate_enum ( verbosity , [ "full" , "truncate" , "link_only" ] ) data [ "verbosity" ] = verbosity self . logger . debug ( "POST /api/v1/groups/{group_id}/external_feeds with query params: {params} and form data: {data}" . format ( params = params , data = data , ** path ) ) return self . generic_request ( "POST" , "/api/v1/groups/{group_id}/external_feeds" . format ( ** path ) , data = data , params = params , single_item = True )
Create an external feed.

        Create a new external feed for the course or group.