cl-youtube

Description

cl-youtube is a Common Lisp wrapper around the YouTube web service.

It is developed on Debian GNU/Linux . and licensed under a license Lisp Lesser GNU Public License

Installation
cl-youtube could be installed like this :
  • Load libraries :
    CL-USER> (require 'asdf)
    CL-USER> (require 'asdf-install)
    
  • Install cl-youtube :
    CL-USER> (asdf-install:install
                "http://www.perave.org/projects/cl-youtube/dist/cl-youtube-latest.tar.gz")
    
  • Usage :
    • Make a friendly output :
      CL-USER> (setf cl-youtube:*print-youtube* t)
      T
      
    • Creates a new YouTube client :
      CL-USER> (defparameter *yt* (cl-youtube:make-youtube-client "9V3oHwTEsrk"))
      *YT*
      
    • Retrieves the public parts of a user profile :
      CL-USER> (cl-youtube:get-user-profile *yt* "perave")
      YouTube User profile
      m NIL NIL
      NIL - 30
      Informations :
      NIL NIL NIL NIL FR NIL NIL
      Videos 0 168
      
    • A list of all videos that were uploaded by the specified user :
      CL-USER> (cl-youtube:get-user-videos *yt* "perave")
      NIL
      
    • Lists a user's favorite videos :
      CL-USER> (cl-youtube:get-user-favorite-videos *yt* "perave")
      URL : http://www.youtube.com/api2_rest?method=youtube.users.list_favorite_videos&dev_id=9V3oHwTEsrk&user=perave
      (YouTube Video PfoOPY5VhZo
      Ski Freeride Part 1 [elmorg] - 335s : world tour skiing chamonix freeride extreme xtreme verbier aurelien ducroz cefam morgan front dynastar north face anovo
      URL=http://www.youtube.com/?v=PfoOPY5VhZo - http://img.youtube.com/vi/PfoOPY5VhZo/2.jpg
      4.77 234
      )
      
      
    • A list of all videos that have the specified tag :
      CL-USER> (cl-youtube:get-tag-videos *yt* "freeride")
      
       (YouTube Video UA8HzrQo78g
      Freeride [mtnbikerz] - 210s : Mountain Bike Freeride
      URL=http://www.youtube.com/?v=UA8HzrQo78g - http://sjl-static11.sjl.youtube.com/vi/UA8HzrQo78g/2.jpg
      4.67 233
      
       YouTube Video PfoOPY5VhZo
      Ski Freeride Part 1 [elmorg] - 335s : world tour skiing chamonix freeride extreme xtreme verbier aurelien ducroz cefam morgan front dynastar north face anovo
      URL=http://www.youtube.com/?v=PfoOPY5VhZo - http://sjc-static5.sjc.youtube.com/vi/PfoOPY5VhZo/2.jpg
      4.77 234
      
       YouTube Video XO-_hUCBaw8
      Freeride Guterbiker [ivoterp] - 101s : Guterbiker freeride biking
      URL=http://www.youtube.com/?v=XO-_hUCBaw8 - http://sjc-static5.sjc.youtube.com/vi/XO-_hUCBaw8/2.jpg
      4.84 37
      
      
      [...]
      
      
    • A list of the most recent 25 videos that have been featured on the front page of the YouTube site :
      CL-USER> (cl-youtube:get-videos-featured *yt*)
      
      (YouTube Video Xph4gbnFVSg
      building from scratch [StephStance] - 254s : Atheist deist sex pagan christian homosexual religion Agnostic muslim bible satan church hell
      URL=http://www.youtube.com/?v=Xph4gbnFVSg - http://img.youtube.com/vi/Xph4gbnFVSg/2.jpg
      3.54 149
      
       YouTube Video h-Wec5br_tY
      believe [whaddyareckon] - 181s : bush howard iraq
      URL=http://www.youtube.com/?v=h-Wec5br_tY - http://sjl-static6.sjl.youtube.com/vi/h-Wec5br_tY/2.jpg
      4.17 131
      
       YouTube Video l4KeV1JwNog
      Puppy or chicken? You decide. [ewestby] - 28s : puppy sleeping chicken dog french bulldog
      URL=http://www.youtube.com/?v=l4KeV1JwNog - http://img.youtube.com/vi/l4KeV1JwNog/2.jpg
      4.25 590
      
       YouTube Video Lipequq0CKI
      Three years? [insaneshayne] - 430s : insaneshayne chat with the most subscribed alive gross healing network
      URL=http://www.youtube.com/?v=Lipequq0CKI - http://sjc-static5.sjc.youtube.com/vi/Lipequq0CKI/2.jpg
      3.99 443
      
      
      [...]                            
      

News
  • Version 0.1 [2007-01-02] : Initialization of the project.
  • Version 0.2 [2007-01-23] : CLOS API interaction.
  • Version 0.2.1 [2007-03-22] : BUGFIX API
  • Links
    Team
    List of developers :
    Nicolas Lamirault - nicolas.lamirault@gmail.com
    Mailing Lists
    Mailing lists that have been established for this project :
    Repository
    NIL NIL
    Releases
    API
    API Reference documentation for cl-youtube project.
    XREF
    Source Reference for cl-youtube project.
    Lisp Critic
    Check aspects of cl-youtube project's source code.