You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having problems accessing historical content using both of the new search_full_archive and search_30_day features. I've updated tweepy to Version: 3.9.0, yet still when I try to run either api.search_full_archive or api.search_30_day I get AttributeError: 'API' object has no attribute 'search_full_archive'... however when I do the equivalent search using regular api.search I get results as expected.
I will note that I am using the free sandbox versions and do have different environment names for my 30-days sandbox and my full-history sandbox.
Any thoughts?
api = tweepy.API(auth, parser=tweepy.parsers.JSONParser(), wait_on_rate_limit=True, wait_on_rate_limit_notify=True)
test = api.search_30_day(environment_name='30daycerb', q = '#cerb')
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-73-0b2b236c134b> in <module>
----> 1 test = api.search_30_day(environment_name='30daycerb',
2 q = '#cerb')
AttributeError: 'API' object has no attribute 'search_30_day'
my_new_tweets = api.search_full_archive(environment_name='cerbhistory', query='#CERB')
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-74-c8e25af8d1ef> in <module>
----> 1 my_new_tweets = api.search_full_archive(environment_name='cerbhistory', query='#CERB')
AttributeError: 'API' object has no attribute 'search_full_archive'
The text was updated successfully, but these errors were encountered:
For some reason, the latest tweepy package doesn't ship with the latest version of the api.py file, which includes the search_30_day, and search_full_archive methods.
However, the latest version of the code on GitHub does include these methods.
For some reason, the latest tweepy package doesn't ship with the latest version of the api.py file, which includes the search_30_day, and search_full_archive methods.
However, the latest version of the code on GitHub does include these methods.
API.search_full_archive and API.search_30_day are currently only in the development version on the master branch.
In the future, please make sure you're using the latest development version when reporting issues.
I'm having problems accessing historical content using both of the new search_full_archive and search_30_day features. I've updated tweepy to Version: 3.9.0, yet still when I try to run either
api.search_full_archive
orapi.search_30_day
I get AttributeError: 'API' object has no attribute 'search_full_archive'... however when I do the equivalent search using regularapi.search
I get results as expected.I will note that I am using the free sandbox versions and do have different environment names for my 30-days sandbox and my full-history sandbox.
Any thoughts?
The text was updated successfully, but these errors were encountered: