Api
in package
Main Class of the library
Table of Contents
Properties
Methods
- __construct() : mixed
- following() : Following
- Gets recommended users
- foryou() : ForYou
- Gets for you feed.
- hashtag() : Hashtag
- Gets hashtag from name.
- music() : Music
- Gets videos that use a specific song
- user() : User
- Gets user from username (@...)
- video() : Video
- Gets video from ID, supports both Webapp and phone
Properties
$cache
private
Cache
$cache
$sender
private
Sender
$sender
Methods
__construct()
public
__construct([array<string|int, mixed> $config = [] ][, ICache|null $cache_engine = null ]) : mixed
Parameters
- $config : array<string|int, mixed> = []
- $cache_engine : ICache|null = null
following()
Gets recommended users
public
following() : Following
Return values
Followingforyou()
Gets for you feed.
public
foryou() : ForYou
Return values
ForYouhashtag()
Gets hashtag from name.
public
hashtag(string $term) : Hashtag
Also known as tag or challenge
Parameters
- $term : string
-
Hashtag name
Return values
Hashtagmusic()
Gets videos that use a specific song
public
music(string $term) : Music
Parameters
- $term : string
-
Song ID
Return values
Musicuser()
Gets user from username (@...)
public
user(string $term) : User
Parameters
- $term : string
-
Username
Return values
Uservideo()
Gets video from ID, supports both Webapp and phone
public
video(string $term) : Video
Parameters
- $term : string
-
ID