'Refresh token'

def refresh_token(self):

    r = self.session.get((self.base_url + '/refresh_token'))
    r.raise_for_status()
    self.session.headers['Authorization'] = ('Bearer    ' + r.json()['token'])
    self.token_date = datetime.utcnow()
