WebbuildersGroup\GitHubShortCode\GitHubShortCode::getFromAPI
Loads the data from the github api
Signature
protected function getFromAPI(
$repo,
{Config_ForClass}
$config )
Parameters
$repo
—$config
— object- Configuration object for this short code
Returns
- {stdObject}
- Returns the JSON Response from the GitHub API