Skip to content

Instantly share code, notes, and snippets.

View Michaelpalacce's full-sized avatar
🏠
Working from home

Stefan Genov Michaelpalacce

🏠
Working from home
View GitHub Profile

<%* const IMAGE_URL_BASE = "https://image.tmdb.org/t/p/w600_and_h900_bestv2"; const API_KEY="APIKEYHERE"; const guessShow = async (showName) => {
const config = {
method: "GET",
url: https://api.themoviedb.org/3/search/tv?api_key=${API_KEY}&language=en-US&page=1&include_adult=true&query=${encodeURIComponent(showName.replace("(Anime)", ""))},
throw: true
} const results = JSON.parse(await request(config));