\Ceo\Plugins\Instagram\ServicesJsonTransport

Load public Instagram data via JSON

$transport = (new JsonTransport())
     ->setUsername($username);
$imageData = $transport->getUserData();

Summary

Methods
Properties
Constants
setUsername()
getUserData()
getErrors()
jsonSerialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
resetErrors()
$username
$data
$errors
N/A

Properties

$username

$username : 

Type

$data

$data : 

Type

$errors

$errors : 

Type

Methods

setUsername()

setUsername(string  $user) : self

Set username

Parameters

string $user

Returns

self

getUserData()

getUserData() : object

Fetch user data as JSON object

Returns

object

getErrors()

getErrors() : array

Fetch any errors, empty array if none

Returns

array

jsonSerialize()

jsonSerialize() : string

Support serialize

Returns

string

resetErrors()

resetErrors()