Beispiel #1
0
 public function liveCall($path, $method = 'GET', $params = null)
 {
     return $this->phapper->apiCall("/live/{$this->thread_id}{$path}", $method, $params);
 }
Beispiel #2
0
<?php

require_once '/src/phapper.php';
$subreddit = "pics";
$limit = 5;
$after = null;
$before = null;
$p = new Phapper();
$res = $p->getHot($subreddit, $limit, $after, $before);
echo $res;
die;