Random strings.

def string(num, length, digits=False, upper=True, lower=True, unique=False):
    """Random strings."""
    function = 'strings'
    # Convert arguments to random.org style
    # for a discussion on the method see: http://bit.ly/TKGkOF
    digits = convert(digits)
    upper = convert(upper)
    lower = convert(lower)
    unique = convert(unique)

    opts = {'num': num,
            'len': length,
            'digits': digits,
            'upperalpha': upper,
            'loweralpha': lower,
            'format': 'plain',
            'rnd': 'new'}
    seq = get_http(RANDOM_URL, function, opts)
    seq = seq.strip().split('\n')  # convert to list
    # seq_arr = str_to_arr(seq)
    return seq