Skip to content

Instantly share code, notes, and snippets.

@kalenjordan
Created March 3, 2016 15:14
Show Gist options
  • Save kalenjordan/ac562d3abe5f4740d6d4 to your computer and use it in GitHub Desktop.
Save kalenjordan/ac562d3abe5f4740d6d4 to your computer and use it in GitHub Desktop.
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