(username)
Sets the username for the webprofile: https://www.gotinder.com/@YOURUSERNAME
Sets the username for the webprofile: https://www.gotinder.com/
Sets the username for the webprofile : https : // www . gotinder . com /
def set_webprofileusername(username):
    '''
    Sets the username for the webprofile: https://www.gotinder.com/@YOURUSERNAME
    '''
    try:
        url = config.host + '/profile/username'
        r = requests.put(url, headers=headers,
                         data=json.dumps({"username": username}))
        return r.json()
    except requests.exceptions.RequestException as e:
        print("Something went wrong. Could not set webprofile username:", e)
def set_webprofileusername ( username ) : try : url = config . host + '/profile/username' r = requests . put ( url , headers = headers , data = json . dumps ( { "username" : username } ) ) return r . json ( ) except requests . exceptions . RequestException as e : print ( "Something went wrong. Could not set webprofile username:" , e )