$url = "http://".$_SERVER['HTTP_HOST'].'/api/getListaPuntosTuristicosEn';
$urlImagen = "http://".$_SERVER['HTTP_HOST'].'/sites/default/files/logo-travel_0.png';

$json = file_get_contents($url);
$array = json_decode($json);
?>

Select All

foreach($array as $clave => $elem){
$nid = $elem->nid;
$title = $elem->title;
?>

}
?>