Example #1
0
 /**
  * 
  * @return array
  */
 public function permissionsList()
 {
     return Gw2Account::permissionsList();
 }
Example #2
0
 /**
  * 
  * @return array
  */
 public function getDatasetWallet($id)
 {
     $value = $this->account ? $this->account->getStatsWallet()[$id] : null;
     return $this->calcPercentiles('wallet', $id, $value);
 }
Example #3
0
 /**
  * 
  * @return Gw2Account
  */
 public function getAccount()
 {
     if (!isset($this->account)) {
         $this->account = Gw2Account::getInstance($this->getToken());
     }
     return $this->account;
 }
Example #4
0
<?php

/*
 * This file is part of the Arnapou FileStore package.
 *
 * (c) Arnaud Buathier <*****@*****.**>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
include __DIR__ . '/../vendor/autoload.php';
use Arnapou\GW2Tools\Service;
Service::getInstance();
$account = \Arnapou\GW2Tools\Gw2Account::getInstance('DEA69D98-AD5C-DA4E-9C0A-BB0B4E2BDD16FCD2DF87-E4DF-42D3-BA18-1AE0B1F25B85');
$char = $account->getCharacter('Tao Lympik');
$attrs = $char->getAttributes();
echo "\n\n";