Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elcuervo/limelight_video
Limelight video platform ruby client
https://github.com/elcuervo/limelight_video
Last synced: 3 months ago
JSON representation
Limelight video platform ruby client
- Host: GitHub
- URL: https://github.com/elcuervo/limelight_video
- Owner: elcuervo
- Created: 2012-06-28T18:02:53.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-18T18:30:16.000Z (about 11 years ago)
- Last Synced: 2024-09-13T05:13:23.098Z (4 months ago)
- Language: Ruby
- Size: 372 KB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Limelight Video
API interaction with the Limelight CDN
```ruby
require 'limelight_video'limelight = Limelight.new(
organization: 'your organization key',
access_key: 'your access key',
secret: 'your secret key',
)# Upload a file
limelight.upload('~/Downloads/sample.mp4', title: 'My cool file')# Uploads a stream, the filename is needed for the mime type in the upload
limelight.upload(io_stream, title: 'My cool file', filename: 'dancing_cat.mp4')
```