generate functionTue, 28 Mar 2023

crear una funcion para mostrar API de Google de libros

function mostrarAPI(libro) { fetch(`https://www.googleapis.com/books/v1/volumes?q=${libro}`) .then(res => res.json()) .then(data => console.log(data)); } mostrarAPI("harry potter")

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant