Navigation Menu

Skip to content

Commit

Permalink
Require query parameter for API.search_full_archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 19, 2021
1 parent 295bfe4 commit 801f15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Expand Up @@ -1159,11 +1159,11 @@ def search_30_day(self, label, query, **kwargs):

@pagination(mode='next')
@payload('status', list=True)
def search_full_archive(self, label, *args, **kwargs):
def search_full_archive(self, label, query, *args, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/search/api-reference/premium-search
"""
return self.request(
'GET', f'tweets/search/fullarchive/{label}', *args,
'GET', f'tweets/search/fullarchive/{label}', query, *args,
endpoint_parameters=(
'query', 'tag', 'fromDate', 'toDate', 'maxResults', 'next'
), **kwargs
Expand Down

0 comments on commit 801f15d

Please sign in to comment.