removed unused import from api.py