pythonyoutubeyoutube-apigdata-apigdata-python-client

Is the official client for the YouTube API thread-safe?


I'm using the official Python client for the YouTube API (called gdata.youtube.service.) My question: Is it thread-safe?

For example, I want to do both GetUserFavoritesFeed and GetYouTubeUserFeed at the same time in two parallel threads. Possible?


Solution

  • It's probably safe if you create a separate API instance for each thread.