This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Extract who's and what's playing - artist(s) and track(s) - from a YouTube music video.

Project Description

Extract who’s and what’s playing - artist(s) and track(s) - from a YouTube music video, enhancing the YouTube Data API V3.

#!/usr/bin/env python

import youplay

(artists, tracks) = youplay.extract(‘0UjsXo9l6I8’)

print ‘%s - %s’ %(‘, ‘.join([artist.name for artist in artists]), tracks[0].name)

(artists, tracks) = youplay.extract(‘c-_vFlDBB8A’)

print ‘%s - %s’ %(artists[0].name, tracks[0].name)

Note that your Google API key must be set as an environment variable: YOUPLAY_GOOGLE_KEY If you don’t have a key, register at <https://code.google.com/apis/console/> and register for the YouTube Data API v3 and the Freebase API.

Contact, infos, related hacks: <http://apassant.net> and <http://mdg.io>

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
youplay-0.1.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source Jun 19, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting