Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
let url = "https://wasabi.i3s.unice.fr/api/v1/album/id/5714debe25ac0d8aee36b664";
fetch(url)
.then((data) => {
  return data.json();
}).then((objetJS) => {
  console.log(objetJS.cover.big);
  
  let img = document.createElement("img");
  img.src = objetJS.cover.medium;
  
  
  document.body.append(img);
})
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers