Home > api.publicvideos

api.publicvideos

Api.publicvideos is a project mainly written in Python, it's free.

REST API for the Public Videos free videos repository.

h1. api.publicvideos

api.publicvideos is the set of scripts that creates an accessible REST interface for the database of "Public Videos":http://alpha.publicvideos.org

h2. API Documentation

Documentation on how to use the API is available at "Public Videos API":http://wiki.publicvideos.org/api/main

h2. Requirements

  • "Python":http://www.python.org/
  • "pycurl":http://pycurl.sourceforge.net/
  • "simplejson":http://pypi.python.org/pypi/simplejson/
  • "Tornado":http://www.tornadoweb.org/
  • "Redis":http://code.google.com/p/redis/
  • "redis-py":http://github.com/andymccurdy/redis-py
  • "Fabric":http://fabfile.org/

h2. Installation

h3. Getting the code

bc. git clone git://github.com/fczuardi/api.publicvideos.git

h3. Installing dependencies

h4. pycurl and simplejson (tornado requirement)

On Mac OS X, you can install the packages with:

bc. sudo easy_install setuptools pycurl==7.16.2.1 simplejson

On Ubuntu Linux, you can install the packages with:

bc. sudo apt-get install python-pycurl python-simplejson

h4. Tornado

bc. git submodule init deps/tornado git submodule update deps/tornado cd deps/tornado/ python setup.py build sudo python setup.py install

h4. Redis

bc. git submodule init deps/redis git submodule update deps/redis cd deps/redis/ make

h4. redis-py

bc. git submodule init deps/redis-py git submodule update deps/redis-py cd deps/redis-py/ sudo python setup.py install

h4. Fabric

bc. sudo easy_install fabric

h2. License (BSD)

Previous:demo_app