1. Go to this page and download the library: Download necowebs/destiny-sdk-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Necowebs\Destiny\Services\PublicAdvisorsV2Service;
$advisors = (new PublicAdvisorsV2Service())->getPublicAdvisorsV2();
$activities = $advisors->getActivities(); // Instance of Necowebs\Destiny\Models\Character\AdvisorActivities
$categories = $advisors->getActivityCategories(); // Traversable of Necowebs\Destiny\Models\Character\AdvisorCategory
use Necowebs\Destiny\Services\Account\AllItemsSummaryService;
$summary = (new AllItemsSummaryService())->getAllItemsSummary(2, '4611686018450406180');
$items = $summary->getItems(); // Traversable of Necowebs\Destiny\Models\Account\Item
$characters = $summary->getCharacters(); // Traversable of Necowebs\Destiny\Models\Account\SummaryCharacter
use Necowebs\Destiny\Services\Account\TriumphsService;
$triumphs = (new TriumphsService())->getTriumphs(2, '4611686018450406180'); // Traversable of Necowebs\Destiny\Models\Account\TriumphSet
use Necowebs\Destiny\Services\Character\AdvisorsForCharacterV2Service;
$advisors = (new AdvisorsForCharacterV2Service())->getAdvisorsForCharacterV2(2, '4611686018450406180', '2305843009310128298');
$activities = $advisors->getActivities(); // Instance of Necowebs\Destiny\Models\Character\AdvisorActivities
$activityCategories = $advisors->getActivityCategories(); // Traversable of Necowebs\Destiny\Models\Character\AdvisorCategory
$bounties = $advisors->getBounties(); // Traversable of Necowebs\Destiny\Models\Character\AdvisorBounty
$quests = $advisors->getQuests(); // []
$progressions = $advisors->getProgressions(); // Traversable of Necowebs\Destiny\Models\Account\SummaryCharacterLevelProgression
$recordBooks = $advisors->getRecordBooks(); // Traversable of Necowebs\Destiny\Models\Account\AdvisorRecordBook
use Necowebs\Destiny\Services\Character\CharacterActivitiesService;
$activities = (new CharacterActivitiesService())->getCharacterActivities(2, '4611686018450406180', '2305843009310128298');
$dateActivityStarted = $activities->getDateActivityStarted(); // "2016-08-16T09:00:00Z"
$available = $activities->getAvailable(); // Traversable of Necowebs\Destiny\Models\Character\AdvisorActivityData
use Necowebs\Destiny\Services\Character\CharacterInventorySummaryService;
$summary = (new CharacterInventorySummaryService())->getCharacterInventorySummary(2, '4611686018450406180', '2305843009310128298');
$items = $this->assertContainsOnlyInstancesOf(Item::class, $summary->getItems()); // Traversable of Necowebs\Destiny\Models\Account\Item
$currencies = $summary->getCurrencies(); // Traversable of Necowebs\Destiny\Models\Account\SummaryInventoryCurrency
use Necowebs\Destiny\Services\Manifest\VendorService;
$vendor = (new VendorService())->getVendor(1575820975);
$summary = $vendor->getSummary(); // Instance of Necowebs\Destiny\Models\Manifest\VendorSummary
$acceptedItems = $vendor->getAcceptedItems(); // Traversable of int
$categories = $vendor->getCategories(); // Traversable of Necowebs\Destiny\Models\Manifest\VendorCategory
$failureStrings = $vendor->getFailureStrings(); // [null]
$unlockValueHash = $vendor->getUnlockValueHash(); // 0
$hash = $vendor->getHash(); // 1575820975
$index = $vendor->getIndex(); // 0
use Necowebs\Destiny\Services\Stats\ActivityHistoryService;
$history = (new ActivityHistoryService())->getActivityHistory(2, '4611686018450406180', '2305843009310128298'); // Traversable of Necowebs\Destiny\Models\Stats\Activity
use Necowebs\Destiny\Services\Stats\DestinyAggregateActivityStatsService;
$stats = (new DestinyAggregateActivityStatsService())->getDestinyAggregateActivityStats(2, '4611686018450406180', '2305843009310128298'); // Traversable of Necowebs\Destiny\Models\Stats\AggregateActivity
use Necowebs\Destiny\Services\Stats\HistoricalStatsDefinitionService;
$definition = (new HistoricalStatsDefinitionService())->getHistoricalStatsDefinition(); // Traversable of Necowebs\Destiny\Models\Stats\Definition
use Necowebs\Destiny\Services\Stats\TestHistoricalStatsForAccountService;
$account = (new HistoricalStatsForAccountService())->getHistoricalStatsForAccount(2, '4611686018450406180');
$mergedDeletedCharacters = $account->getMergedDeletedCharacters(); // Instance of Necowebs\Destiny\Models\Stats\AccountCharacter
$mergedAllCharacters = $account->getMergedAllCharacters(); // Instance of Necowebs\Destiny\Models\Stats\AccountCharacter
$characters = $account->getCharacters(); // Traversable of Necowebs\Destiny\Models\Stats\AccountCharacter
use Necowebs\Destiny\Services\Stats\TestHistoricalStatsService;
$stats = (new HistoricalStatsService())->getHistoricalStats(2, '4611686018450406180', '2305843009310128298');
$allPvP = $stats->getAllPvP(); // Instance of Necowebs\Destiny\Models\Stats\HistoricalActivity
$patrol = $stats->getPatrol(); // Instance of Necowebs\Destiny\Models\Stats\HistoricalActivity
$raid = $stats->getRaid(); // Instance of Necowebs\Destiny\Models\Stats\HistoricalActivity
$story = $stats->getStory(); // Instance of Necowebs\Destiny\Models\Stats\HistoricalActivity
$allStrikes = $stats->getAllStrikes(); // Instance of Necowebs\Destiny\Models\Stats\HistoricalActivity
$allArena = $stats->getAllArena(); // Instance of Necowebs\Destiny\Models\Stats\HistoricalActivity
use Necowebs\Destiny\Services\Stats\MembershipIdByDisplayNameService;
$membershipId = (new MembershipIdByDisplayNameService())->getMembershipIdByDisplayName(2, 'Hochi_oD'); // "4611686018450406180"
use Necowebs\Destiny\Services\Stats\PostGameCarnageReportService;
$report = (new PostGameCarnageReportService())->getPostGameCarnageReport('5234554709');
$period = $report->getPeriod(); // "2016-07-13T23:15:00Z"
$activityDetails = $report->getActivityDetails(); // Instance of Necowebs\Destiny\Models\Stats\ActivityDetails
$entries = $report->getEntries(); // Traversable of Necowebs\Destiny\Models\Stats\PostGameCarnageReportEntry
$teams = $report->getTeams(); // Traversable of Necowebs\Destiny\Models\Stats\PostGameCarnageReportTeam
use Necowebs\Destiny\Services\Stats\UniqueWeaponHistoryService;
$weapons = (new UniqueWeaponHistoryService())->getUniqueWeaponHistory(2, '4611686018450406180', '2305843009310128298'); // Traversable of Necowebs\Destiny\Models\Stats\PostGameCarnageReportEntryExtendedWeapon
use Necowebs\Destiny\Services\Vanguard\GrimoireByMembershipService;
$grimoire = (new GrimoireByMembershipService())->getGrimoireByMembership(2, '4611686018450406180');
$score = $grimoire->getScore(); // 4620
$cardCollection = $grimoire->getCardCollection(); // Traversable of Necowebs\Destiny\Models\Vanguard\GrimoireCard
$cardsToHide = $grimoire->getCardsToHide(); // Traversable of int
$bonuses = $grimoire->getBonuses(); // Traversable of Necowebs\Destiny\Models\Vanguard\GrimoireBonus
use Necowebs\Destiny\Services\Vanguard\GrimoireDefinitionService;
$definition = (new GrimoireDefinitionService())->getGrimoireDefinition(); // Traversable of Necowebs\Destiny\Models\Vanguard\GrimoireDefinitionTheme
shell
composer
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.