Reverted my changes to apirequests.py