Best practices for YouTube API integration

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
TomDude48's picture

I am looking for some best practices advice. I am building a module that processes machine tags. I am integrating it in with FeedAPI and FeedAPI Mapper. My two primary feeds I want to get machine tags from are Flickr and YouTube. Unfortunately for both services I have not found a way to get well formatted tags via their RSS feed. So I am resorting to getting the media id from the feed then using an API call to get the machine tags.

Got this working fine for Flickr using the Flickr API module. However for YouTube I noticed there is not a YouTube API module that works for D6. I am thinking of proceeding as follows:
1. Download the GData libraries into my module
2. Call the REST API directly and consume the data in my own algos

However, it seems that other modules must already be using the YouTube API, e.g. emfield and video_upload. It seems there should be a central YouTube API module so not everyone has to do their own implementation. But if it doesn’t exist I can assume there is not much need for it.

What is the best way to proceed?

Video

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: