I have been trying to get the tops clips via an API but I get the error message:
{“error”:“Not Found”,“status”:404,“message”:""}
code:
import requests
API_ENDPOINT = 'https://api.twitch.tv/kraken/clips/top?period=week&trending=false&limit=1'
ID = 'REMOVED'
auth = 'application/vnd.twitchtv.v5+json'
head = {
'Client-ID' : ID,
'Accept' : auth
}
r = requests.post(url = API_ENDPOINT, headers = head)
print(r.text)