Skip to content

Instantly share code, notes, and snippets.

@rubensayshi
Created November 26, 2012 20:28
Show Gist options
  • Save rubensayshi/4150417 to your computer and use it in GitHub Desktop.
Save rubensayshi/4150417 to your computer and use it in GitHub Desktop.
<?php
$data = json_decode(file_get_contents("http://www.gw2spidy.com/api/v0.9/json/all-items/all"), true);
foreach ($data as $item) {
var_dump($item['name'], $item['min_sale_unit_price']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment