Documentation is available at Compete.php
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- class Services_Compete
-
-
-
-
-
-
-
-
-
-
-
- public function __construct($api_key)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $xml = simplexml_load_string($gottenPage);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- public function getTrust ()
-
- if(!is_null($this->results)) {
- $results->val = trim((string)$this->results->dmn->trust->val);
- $results->link = trim((string)$this->results->dmn->trust->link);
- $results->icon = trim((string)$this->results->dmn->trust->icon);
-
-
-
-
-
-
-
-
-
-
-
-
-
- public function getTraffic ()
-
- if(!is_null($this->results)) {
- $results->year = trim((string)$this->results->dmn->metrics->val->yr);
- $results->month = trim((string)$this->results->dmn->metrics->val->mth);
- $results->ranking = trim((string)$this->results->dmn->metrics->val->uv->ranking);
-
- $results->count = trim((string)$this->results->dmn->metrics->val->uv->count);
-
-
- $results->link = trim((string)$this->results->dmn->metrics->link);
- $results->icon = trim((string)$this->results->dmn->metrics->icon);
-
-
-
-
-
-
-
-
-
-
-
-
-
- public function getDeals ()
-
- if(!is_null($this->results)) {
-
- $results->link = trim((string)$this->results->dmn->deals->link);
- $results->icon = trim((string)$this->results->dmn->deals->icon);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- public function get ()
-
- if(!is_null($this->results)) {
-
- $results->trust = $this->getTrust();
- $results->traffic = $this->getTraffic();
- $results->deals = $this->getDeals();
-
-
-
-
-
-
-
-
-
-
-
-
-
- public function getRaw ()
-
- if(!is_null($this->results)) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
댓글 없음:
댓글 쓰기