A simple website that shows trending anime list using cookie api (List Changes According To Data From Zoro.to)
const axios = require('axios');
let url = `https://cookie-api.ml/api/anime/trending`; // API URL
console.log(url);
let response = await axios.get(url);
console.log(response.data);
let result = response.data?.results;
body = `
Trending Anime
`;
return {
statusCode: 200,
headers: {
'Content-Type': 'text/html',
},
body: body,
};