@@ 365-378 (lines=14) @@ | ||
362 | * |
|
363 | * @return ProgressionValueObject |
|
364 | */ |
|
365 | public function getProgression() |
|
366 | { |
|
367 | $requestModel = $this->prepareRequestModel('progression'); |
|
368 | $response = $this->requestService->doRequest($requestModel); |
|
369 | $responseObject = json_decode($response); |
|
370 | ||
371 | $raids = $this->prepareRaidValueObject($responseObject); |
|
372 | ||
373 | $progression = new ProgressionValueObject( |
|
374 | $raids |
|
375 | ); |
|
376 | ||
377 | return $progression; |
|
378 | } |
|
379 | ||
380 | /** |
|
381 | * A map of pvp information including arena team membership and rated battlegrounds information |
|
@@ 385-398 (lines=14) @@ | ||
382 | * |
|
383 | * @return PvpValueObject |
|
384 | */ |
|
385 | public function getPvp() |
|
386 | { |
|
387 | $requestModel = $this->prepareRequestModel('pvp'); |
|
388 | $response = $this->requestService->doRequest($requestModel); |
|
389 | $responseObject = json_decode($response); |
|
390 | ||
391 | $brackets = $this->prepareBracketValueObject($responseObject); |
|
392 | ||
393 | $progression = new PvpValueObject( |
|
394 | $brackets |
|
395 | ); |
|
396 | ||
397 | return $progression; |
|
398 | } |
|
399 | ||
400 | /** |
|
401 | * A list of quests completed by the character |
|
@@ 405-416 (lines=12) @@ | ||
402 | * |
|
403 | * @return QuestsValueObject |
|
404 | */ |
|
405 | public function getQuests() |
|
406 | { |
|
407 | $requestModel = $this->prepareRequestModel('quests'); |
|
408 | $response = $this->requestService->doRequest($requestModel); |
|
409 | $responseObject = json_decode($response); |
|
410 | ||
411 | $quests = new QuestsValueObject( |
|
412 | $responseObject->quests |
|
413 | ); |
|
414 | ||
415 | return $quests; |
|
416 | } |
|
417 | ||
418 | /** |
|
419 | * A list of the factions that the character has an associated reputation with |