class TikToker::Client::WebApiClient

Defined in:

tiktoker/client/web_api_client.cr

Instance Method Summary

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

[View source]
def user_profile_feed(sec_uid : SecUID, cursor : String) : TikTok::PostCollection #

Returns a collection of posts for sec_uid, starting from cursor. See TikToker::ProfileIterator.

client.user_profile_feed("0x1111", "0") # => TikTok::PostCollection

[View source]