MythTV  0.25-pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Classes | Functions | Variables
nv_python_libs::vimeo::vimeo_api Namespace Reference

Classes

class  VimeoException
class  CurlyRestException
class  CurlyRequest
class  SimpleOAuthClient
class  OutStreamEncoder
 MythTV Netvideo specific classes start here. More...
class  Videos

Functions

def _simple_request
def _user_request
 User related call from the "Simple API".
def user_info
def user_videos
def user_likes
def user_appears_in
def user_all_videos
def user_subscriptions
def user_albums
def user_channels
def user_groups
def user_contacts_videos
def user_contacts_like
def video_request
 get a specific video

Variables

string __title__ = "vimeo_api - Simple-to-use Python interface to the vimeo API (http://vimeo.com)"
string __author__ = "Marc Poulhiès and modified by R.D. Vaughan"
string __purpose__
string __version__ = "v0.2.5"
string REQUEST_TOKEN_URL = 'http://vimeo.com/oauth/request_token'
string ACCESS_TOKEN_URL = 'http://vimeo.com/oauth/access_token'
string AUTHORIZATION_URL = 'http://vimeo.com/oauth/authorize'
string API_REST_URL = 'http://vimeo.com/api/rest/v2/'
string API_V2_CALL_URL = 'http://vimeo.com/api/v2/'
string USER_AGENT = 'python-vimeo http://github.com/dkm/python-vimeo'
int PORT = 80
tuple HMAC_SHA1 = oauth.OAuthSignatureMethod_HMAC_SHA1()

Function Documentation

def nv_python_libs.vimeo.vimeo_api._simple_request (   url,
  format 
) [private]

Definition at line 494 of file vimeo_api.py.

Referenced by _user_request(), and video_request().

def nv_python_libs.vimeo.vimeo_api._user_request (   user,
  info,
  format 
) [private]
def nv_python_libs.vimeo.vimeo_api.user_info (   user,
  format = "xml" 
)
User info for the specified user

Definition at line 514 of file vimeo_api.py.

Referenced by setUser().

def nv_python_libs.vimeo.vimeo_api.user_videos (   user,
  format = "xml" 
)
Videos created by user

Definition at line 521 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_likes (   user,
  format = "xml" 
)
Videos the user likes

Definition at line 527 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_appears_in (   user,
  format = "xml" 
)
Videos that the user appears in

Definition at line 533 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_all_videos (   user,
  format = "xml" 
)
Videos that the user appears in and created

Definition at line 539 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_subscriptions (   user,
  format = "xml" 
)
Videos the user is subscribed to

Definition at line 545 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_albums (   user,
  format = "xml" 
)
Albums the user has created

Definition at line 551 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_channels (   user,
  format = "xml" 
)
Channels the user has created and subscribed to

Definition at line 557 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_groups (   user,
  format = "xml" 
)
Groups the user has created and joined

Definition at line 563 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_contacts_videos (   user,
  format = "xml" 
)
Videos that the user's contacts created

Definition at line 569 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.user_contacts_like (   user,
  format = "xml" 
)
Videos that the user's contacts like

Definition at line 575 of file vimeo_api.py.

def nv_python_libs.vimeo.vimeo_api.video_request (   video,
  format 
)

get a specific video

Definition at line 585 of file vimeo_api.py.


Variable Documentation

string nv_python_libs::vimeo::vimeo_api::__title__ = "vimeo_api - Simple-to-use Python interface to the vimeo API (http://vimeo.com)"

Definition at line 31 of file vimeo_api.py.

string nv_python_libs::vimeo::vimeo_api::__author__ = "Marc Poulhiès and modified by R.D. Vaughan"

Definition at line 32 of file vimeo_api.py.

Initial value:
00001 '''
00002  This python script is intended to perform a variety of utility functions to search and access text
00003 metadata and video/image URLs from vimeo. These routines are based on the v2 api. Specifications
00004 for this api are published at http://vimeo.com/api/docs/advanced-api
00005 '''

Definition at line 33 of file vimeo_api.py.

Definition at line 39 of file vimeo_api.py.

string nv_python_libs::vimeo::vimeo_api::REQUEST_TOKEN_URL = 'http://vimeo.com/oauth/request_token'

Definition at line 71 of file vimeo_api.py.

string nv_python_libs::vimeo::vimeo_api::ACCESS_TOKEN_URL = 'http://vimeo.com/oauth/access_token'

Definition at line 72 of file vimeo_api.py.

string nv_python_libs::vimeo::vimeo_api::AUTHORIZATION_URL = 'http://vimeo.com/oauth/authorize'

Definition at line 73 of file vimeo_api.py.

string nv_python_libs::vimeo::vimeo_api::API_REST_URL = 'http://vimeo.com/api/rest/v2/'

Definition at line 75 of file vimeo_api.py.

Definition at line 76 of file vimeo_api.py.

string nv_python_libs::vimeo::vimeo_api::USER_AGENT = 'python-vimeo http://github.com/dkm/python-vimeo'

Definition at line 78 of file vimeo_api.py.

Definition at line 80 of file vimeo_api.py.

Referenced by main().

tuple nv_python_libs::vimeo::vimeo_api::HMAC_SHA1 = oauth.OAuthSignatureMethod_HMAC_SHA1()

Definition at line 82 of file vimeo_api.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends