Files
itd-sdk/itd/search.py
2026-01-29 21:15:01 +03:00

4 lines
222 B
Python

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})