#Simple Fetching Code from API
7 messages · Page 1 of 1 (latest)
(i reccomend putting this post in full view so it looks less messy)
i copied this from the developer.spotify.com website as they were giving sample source code to print out a user's top 5 artist within the last 30 days
it works smoothly on their website however on my VSCode it does not work.
it's because you are using await without putting that statement within an async function