Convert jquery .getJSON to ajax async await for YouTube API – Jquery ajax
I am using YouTube API key to fetch data on search. const key = "[API Key]"; const url = "https://www.googleapis.com/youtube/v3/search"; $(document).ready(function () { const options = { part: ["snippet"], key: key, maxResults: 10, q: "developers", }; loadVids(); function loadVids() {…