Code Monkey home page Code Monkey logo

brightcove_cms_api's Introduction

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

brightcove_cms_api's People

Contributors

dilkhush avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.