0

It seems that order='date' parameter of YouTube Data API (v3) search endpoint does not work as expected since last week. I can't get the videos sorted in reverse chronological order. I've just tested it in APIs Explorer, the returned results are not either sorted by date. Below is my code in Python:

import requests

requests.get('https://www.googleapis.com/youtube/v3/search',
             params={
                 'key': YOUTUBE_API_KEY,
                 'part': 'snippet',
                 'type': 'video',
                 'order': 'date',
                 'channelId': 'UCCCPCZNChQdGa9EkATeye4g',
             })
micmia
  • 1,371
  • 1
  • 14
  • 29

1 Answers1

2

This is a known and acknowledged issue of the API (e.g. https://stackoverflow.com/a/55246970/8327971).

Follow also the longish thead at Google: https://issuetracker.google.com/issues/128673552. There is to be found some useful workarounds.

Until now, Google refrained itself from providing an ETA for when it'll reinstate the API features it disabled.

stvar
  • 6,551
  • 2
  • 13
  • 28