def __init__(self, api_key, username=None):

        self.api_key = api_key
        self.username = username
        self.memory = {}
        self.path = os.path.join("~", ".flickr")
Creates a new token cache instance
dataset/ETHPy150Open onitu/onitu/drivers/flickr/onitu_flickr/flickrapi/tokencache.py/TokenCache.__init__