PHP Class Vinkla\Instagram\Instagram

Author: Vincent Klaiber ([email protected])
显示文件 Open project: vinkla/instagram

Protected Properties

Property Type Description
$client GuzzleHttp\ClientInterface The guzzle http client.

Public Methods

Method Description
__construct ( GuzzleHttp\ClientInterface $client = null ) : void Create a new instagram instance.
get ( string $user ) : array Fetch the media items.

Method Details

__construct() public method

Create a new instagram instance.
public __construct ( GuzzleHttp\ClientInterface $client = null ) : void
$client GuzzleHttp\ClientInterface
return void

get() public method

Fetch the media items.
public get ( string $user ) : array
$user string
return array

Property Details

$client protected_oe property

The guzzle http client.
protected ClientInterface,GuzzleHttp $client
return GuzzleHttp\ClientInterface