def get_klout_id(tweet):
    """
    Warning: Klout is deprecated and is being removed from Tweet payloads May 2018. \n
    See https://developer.twitter.com/en/docs/tweets/enrichments/overview/klout \n
    
    Get the Klout ID of the user (str) (if it exists)

    Args:
        tweet (Tweet): A Tweet object (or a dictionary)

    Returns:
        str: the user's Klout ID (if it exists), else return None

    Example:
        >>> from tweet_parser.getter_methods.tweet_user import get_klout_id
        >>> original_format_dict = {
        ... "created_at": "Wed May 24 20:17:19 +0000 2017",
        ...     "user":
        ...         {"derived": {"klout":
        ...             {"user_id":"1234567890"}}}
        ...     }
        >>> get_klout_id(original_format_dict)
        '1234567890'

        >>> activity_streams_format_dict = {
        ... "postedTime": "2017-05-24T20:17:19.000Z",
        ... "gnip":
        ...     {"klout_profile": {
        ...         "klout_user_id": "1234567890"}
        ...     }}
        >>> get_klout_id(activity_streams_format_dict)
        '1234567890'
    """
    try:
        if is_original_format(tweet):
            klout_id = tweet['user']['derived']['klout']['user_id']
        else:
            klout_id = tweet['gnip']['klout_profile']['klout_user_id']
        return klout_id
    except KeyError:
        return None
Warning: Klout is deprecated and is being removed from Tweet payloads May 2018. \n
    See https://developer.twitter.com/en/docs/tweets/enrichments/overview/klout \n
    
    Get the Klout ID of the user (str) (if it exists)

    Args:
        tweet (Tweet): A Tweet object (or a dictionary)

    Returns:
        str: the user's Klout ID (if it exists), else return None

    Example:
        >>> from tweet_parser.getter_methods.tweet_user import get_klout_id
        >>> original_format_dict = {
        ... "created_at": "Wed May 24 20:17:19 +0000 2017",
        ...     "user":
        ...         {"derived": {"klout":
        ...             {"user_id":"1234567890"}}}
        ...     }
        >>> get_klout_id(original_format_dict)
        '1234567890'

        >>> activity_streams_format_dict = {
        ... "postedTime": "2017-05-24T20:17:19.000Z",
        ... "gnip":
        ...     {"klout_profile": {
        ...         "klout_user_id": "1234567890"}
        ...     }}
        >>> get_klout_id(activity_streams_format_dict)
        '1234567890'