Skip to content

daltonrenaldo/meteor-vimeo-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

A simple package that allows you to search Vimeo videos. You will need an API key (client_id) and secret from Vimeo.

Usage (server side only)

First Authenticate...

  VimeoApi.authenticate({
    CLIENT_ID: /* YOUR CLIENT ID */,
    CLIENT_SECRET: /* YOUR CLIENT SECRET */
  });

Then you can search.

  /**
   * @param  {String} query [what you are searching for]
   * @param  {Object} args  [see https://developer.vimeo.com/api/playground/videos]
   * @return {Object}
   */
  var results = VimeoApi.videos(query, args)

  /**
   * Search videos for specified channel.
   * @param  {String} channelId
   * @param  {Object} overwriteParams
   * @return {Object}
   */
  var channelVideos = VimeoApi.channelsVideos(channelId, overwriteParams)

Next

  1. Add specs,
  2. Implement related videos

Contribute

This is a working progress... feel free to submit a pull request and contribute

Aug 11, 2015 -- Added channelsVideos method in 'vimeo-video-search.js'

About

A MeteorJS Vimeo Video Search API

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •