<%
SUB makeFeed(url)
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", url, False
xml.setRequestHeader "Client-ID", "*removed*"
xml.setRequestHeader "Accept", "application/vnd.twitchtv.v4+json"
xml.Send
sXml = xml.responseText
Response.write sXML
Set xml = Nothing
Set sXml = Nothing
end sub
makeFeed("https://api.twitch.tv/kraken/clips/top?limit=2&game=Overwatch&trending=true")
%>
How do I convert the json output so I can select what I want to show on the page instead of the entire thing?
Doc from the api: https://dev.twitch.tv/docs/v5/guides/clips-discovery/