Moved api.py to foursquare.py