class TikToker::Client::WebApiClient
- TikToker::Client::WebApiClient
- Reference
- Object
Defined in:
tiktoker/client/web_api_client.crInstance Method Summary
-
#search_user(criteria : String, cursor : String) : TikTok::SearchResult
Returns a collection of users that match the given criteria, starting from cursor.
-
#user_profile_feed(sec_uid : SecUID, cursor : String) : TikTok::PostCollection
Returns a collection of posts for sec_uid, starting from cursor.
Instance Method Detail
def search_user(criteria : String, cursor : String) : TikTok::SearchResult
#
Returns a collection of users that match the given criteria, starting from cursor.
client.search_user("willsmith", "0") # => TikTok::SearchResult
Returns a collection of posts for sec_uid, starting from cursor.
See TikToker::ProfileIterator
.
client.user_profile_feed("0x1111", "0") # => TikTok::PostCollection