from TwitterAPI import TwitterAPI # Substitute your API and ACCESS credentials. api = TwitterAPI(API_KEY, API_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET)