feat: add search
This commit is contained in:
4
itd/search.py
Normal file
4
itd/search.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from itd.request import fetch
|
||||
|
||||
def search(token: str, query: str, user_limit: int = 5, hashtag_limit: int = 5):
|
||||
return fetch(token, 'get', 'search', {'userLimit': user_limit, 'hashtagLimit': hashtag_limit, 'q': query})
|
||||
Reference in New Issue
Block a user