echo " - volume = " . $e->content->params->volume . " - hits = " . $e->content->params->hits . " - last_request = " . $e->content->params->last_modified; } echo "\n\nGet top 50 city list for live HLS traffic in September 2012"; $list = $rams->getCityList("year=2012;month=9;type=apple_http_live;order=desc"); foreach ($list->feed->entry as $e) { echo "\nTraffic for type = " . $e->content->params->type . ", country = " . $e->content->params->country . ", region = " . $e->content->params->region . "and city = " . $e->content->params->city; echo " - volume = " . $e->content->params->volume . " - hits = " . $e->content->params->hits . " - last_request = " . $e->content->params->last_modified; } echo "\n\nGet top 50 hosts for download and flash traffic for the current month:"; $list = $rams->getHostList("order=desc;type=http,rtmp"); foreach ($list->feed->entry as $e) { echo "\nTraffic for type = " . $e->content->params->type . " and host = " . $e->content->params->host; echo " - volume = " . $e->content->params->volume . " - hits = " . $e->content->params->hits . " - last_request = " . $e->content->params->last_modified; } echo "\n\nGet concurrent traffic on 14th of April 2012 between 20:00 and 23:30 CET, 100 entries at a time:"; $list = $rams->getConcurrentV1List("order=desc;from=2012-04-14-20-00-00;until=2012-04-14-23-30-00;paginate_by=100"); while ($list) { foreach ($list->feed->entry as $e) { echo "\nTraffic for type = " . $e->content->params->type . " and datetime = " . $e->content->params->datetime; echo " - number of concurrent viewers = " . $e->content->params->hits; } $list = $rams->getNextList($list); } echo "\n\nGet storage list for the current year:"; $list = $rams->getStorageList("year=curr;month=all"); foreach ($list->feed->entry as $e) { echo "\nStorage for year = " . $e->content->params->year . " and month = " . $e->content->params->month; echo " - volume = " . $e->content->params->volume . " - last updated = " . $e->content->params->updated; } echo "\n\nGet active filter list:"; $list = $rams->getFilterList("active=1");