For Get Search Suggestions
API Class : DiscoverInteractor
Method : getSearchSuggestions()
Returns the list of suggested data based on queried keywords.
API Request:
- Request Object : DiscoverRequest
- Parameters
- search : search keyword
- categoryId: empty in this case
- limit: How many videos you want in a single response
- offset: it's the current page/offset
API Response:
- Response Object : AllVideoInfo
- Message: It is a simple string message
- StatusCode : It returns API status code (like 200,201,500,401)
- Success: It returns boolean value, (true/false)
- data : it returns video and hashtag list