removed print from api.py