Skip to content

Instantly share code, notes, and snippets.

@kalenjordan
Created March 3, 2016 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kalenjordan/ca8a6edd42049e3236f8 to your computer and use it in GitHub Desktop.
Save kalenjordan/ca8a6edd42049e3236f8 to your computer and use it in GitHub Desktop.
<?php
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