export async function summary(token) { let response = await fetch("https://api.wanikani.com/v2/summary", { headers: { "Authorization": `Bearer ${token}` } }); return await response.json(); }