No commit activity in last 3 years
No release in over 3 years
A simple wrapper around Brightcove's CMS API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15

Runtime

~> 2.2.2
 Project Readme

brightcove_cms_api

This gem wraps Brightcove's CMS API.

Installation

Add this line to your application's Gemfile:

gem 'brightcove_cms_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install brightcove_cms_api

Usage

If you want to use this its quite simple first create a client object of Cms api:

$ @client = BrightcoveCmsApi::Video.new(
  account_id: "my_account_id",
  client_id: "my_client_id",
  client_secret: "my_client_secret")

To get list of videos

$ @client.find_all

To create a video

$ @client.create

To Get Video count

$ @client.count

To Get Video by id and reference_id

$ @client.get_by_reference_id(video_id)

To delete Video by reference_id

$ @client.delete(video_id)

To update Video by reference_id

$ @client.update(video_id, params = {})

To get Video images by reference_id

$ @client.images(video_id)

To get Video playlists by reference_id

$ @client.playlists(video_id)

To remove Video from playlists by reference_id

$ @client.remove_from_playlists(video_id)

To get custom fileds

$ @client.custom_fields

Contributing

  1. Fork it ( https://github.com/dilkhush/brightcove_cms_api/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request