Project

vidyard

0.0
No commit activity in last 3 years
No release in over 3 years
This gem contains a handful of methods for interacting with Vidyard API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Vidyard API

This gem implements the Vidyard v1.0 API in Ruby. Currently, only GET methods (on non-nested resources) are supported.

Usage

If you're using bundler, include the gem in your Gemfile and run bundle install

You can instantiate a Vidyard::Client object with your API token.

require 'vidyard'
vidyard = Vidyard::Client.new(API_TOKEN)

Get an array of resources like this...

vidyard.get_videos()

Get a single resource like this...

vidyard.get_video(video_id)

You get the idea.

Testing

This project uses Rspec, VCR and Webmock for testing.

Before you run the test suite, you need to create a new .env file and add your API token, like so...

API_TOKEN=...

Initial HTTP requests will be saved in spec/fixtures.

License

MIT License. Copyright 2014 Taylor C. MacDonald.