'Add a key (register ?)'

def addkey(self, key):

    if (type(key) == str):
        if (not (key in self._apikey)):
            self._apikey.append(key)
    elif (type(key) == list):
        for k in key:
            if (not (k in self._apikey)):
                self._apikey.append(k)
