Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Api::setConsumerKey($consumerKey);
Api::setConsumerSecret($consumerSecret);
$history = History::getList();
foreach ($history as $historyItem) {
$date = $historyItem->getDate();
$websiteUrls = $historyItem->getWebsiteNamesCsv();
$project = $historyItem->getProjectName();
echo "$project - $date: $websiteUrls";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment