MythTV  master
Classes | Functions | Variables
nv_python_libs.vimeo.vimeo_api Namespace Reference

Classes

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

Functions

def _simple_request (url, format)
 
def _user_request (user, info, format)
 User related call from the "Simple API". More...
 
def user_info (user, format="xml")
 
def user_videos (user, format="xml")
 
def user_likes (user, format="xml")
 
def user_appears_in (user, format="xml")
 
def user_all_videos (user, format="xml")
 
def user_subscriptions (user, format="xml")
 
def user_albums (user, format="xml")
 
def user_channels (user, format="xml")
 
def user_groups (user, format="xml")
 
def user_contacts_videos (user, format="xml")
 
def user_contacts_like (user, format="xml")
 
def video_request (video, format)
 get a specific video More...
 

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
 
 HMAC_SHA1 = oauth.OAuthSignatureMethod_HMAC_SHA1()
 

Function Documentation

◆ _simple_request()

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

◆ _user_request()

def nv_python_libs.vimeo.vimeo_api._user_request (   user,
  info,
  format 
)
private

◆ user_info()

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

Definition at line 515 of file vimeo_api.py.

Referenced by setUser().

◆ user_videos()

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

Definition at line 522 of file vimeo_api.py.

◆ user_likes()

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

Definition at line 528 of file vimeo_api.py.

◆ user_appears_in()

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

Definition at line 534 of file vimeo_api.py.

◆ user_all_videos()

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

Definition at line 540 of file vimeo_api.py.

◆ user_subscriptions()

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

Definition at line 546 of file vimeo_api.py.

◆ user_albums()

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

Definition at line 552 of file vimeo_api.py.

◆ user_channels()

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

Definition at line 558 of file vimeo_api.py.

◆ user_groups()

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

Definition at line 564 of file vimeo_api.py.

◆ user_contacts_videos()

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

Definition at line 570 of file vimeo_api.py.

◆ user_contacts_like()

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

Definition at line 576 of file vimeo_api.py.

◆ video_request()

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

get a specific video

Definition at line 586 of file vimeo_api.py.

Variable Documentation

◆ __title__

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

Definition at line 31 of file vimeo_api.py.

◆ __author__

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

Definition at line 32 of file vimeo_api.py.

◆ __purpose__

string nv_python_libs.vimeo.vimeo_api.__purpose__
private
Initial value:
1 = '''
2  This python script is intended to perform a variety of utility functions to search and access text
3 metadata and video/image URLs from vimeo. These routines are based on the v2 api. Specifications
4 for this api are published at http://vimeo.com/api/docs/advanced-api
5 '''

Definition at line 33 of file vimeo_api.py.

◆ __version__

string nv_python_libs.vimeo.vimeo_api.__version__ = "v0.2.5"
private

Definition at line 39 of file vimeo_api.py.

◆ REQUEST_TOKEN_URL

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.

◆ ACCESS_TOKEN_URL

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.

◆ AUTHORIZATION_URL

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

Definition at line 73 of file vimeo_api.py.

◆ API_REST_URL

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.

◆ API_V2_CALL_URL

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

Definition at line 76 of file vimeo_api.py.

◆ USER_AGENT

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.

◆ PORT

int nv_python_libs.vimeo.vimeo_api.PORT = 80

Definition at line 80 of file vimeo_api.py.

◆ HMAC_SHA1

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

Definition at line 82 of file vimeo_api.py.