Update apiclient.py

remove unreferenced variable `url`