I am trying to use youtube api to fetch the latest video uploaded in a channel and the query is as below
https://www.googleapis.com/youtube/v3/search?key={KEY}&channelId={CHANNEL-ID}&part=snippet&maxResults=1&order=date&type=video
But it is not returning the latest video uploaded in that channel. Adding or removing order attribute doesn't seem to work as it keeps returning the same video.