PHP Класс InstagramScraper\Model\Account

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$biography string Information filled by user
$externalUrl string Url provided by user in profile
$followedByCount integer Number of followers
$followsCount integer Number of subscriptions
$fullName string Full name
$id string User id
$isPrivate boolean true if account is private
$isVerified boolean true if verified by Instagram as celebrity
$mediaCount integer Number of medias published by user
$profilePicUrl string Profile picture url
$username string Username

Открытые методы

Метод Описание
__construct ( )
fromAccountPage ( $userArray )
fromMediaPage ( $userArray )
fromSearchPage ( $userArray )

Описание методов

__construct() публичный Метод

public __construct ( )

fromAccountPage() публичный статический Метод

public static fromAccountPage ( $userArray )

fromMediaPage() публичный статический Метод

public static fromMediaPage ( $userArray )

fromSearchPage() публичный статический Метод

public static fromSearchPage ( $userArray )

Описание свойств

$biography публичное свойство

Information filled by user
public string $biography
Результат string

$externalUrl публичное свойство

Url provided by user in profile
public string $externalUrl
Результат string

$followedByCount публичное свойство

Number of followers
public int $followedByCount
Результат integer

$followsCount публичное свойство

Number of subscriptions
public int $followsCount
Результат integer

$fullName публичное свойство

Full name
public string $fullName
Результат string

$id публичное свойство

User id
public string $id
Результат string

$isPrivate публичное свойство

true if account is private
public bool $isPrivate
Результат boolean

$isVerified публичное свойство

true if verified by Instagram as celebrity
public bool $isVerified
Результат boolean

$mediaCount публичное свойство

Number of medias published by user
public int $mediaCount
Результат integer

$profilePicUrl публичное свойство

Profile picture url
public string $profilePicUrl
Результат string

$username публичное свойство

Username
public string $username
Результат string