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