API talk:2/commerce/prices
From Guild Wars 2 Wiki
Jump to navigationJump to search
Get Some[edit]
- So... whats the best way to get all the Buy/Sell to update MySQL database of just weapons?
Pulling Data[edit]
<?php
$url = "ht tps://api.guildwars2.com/v2/commerce/prices/19684";
$string = file_get_contents($url); $next = json_decode($string, true); $response = array($next);
foreach ($response as $value) {
echo var_dump($value);
}
This results in a NULL instead of the expected results. Why? What has changed since last time I was working on this api? ```` —The preceding unsigned comment was added by Reanne (talk).