New Client Libraries for HeyWatch
We’ve released several client libraries in the last few days.
- Ruby: http://github.com/particles/heywatch-ruby
- Python: http://github.com/particles/heywatch-python
- PHP: http://github.com/particles/heywatch-php (by madewithlove)
- .NET: http://github.com/particles/heywatch-dotnet
NodeJS, Java and iOS will come soon.
Note that the ruby lib is a complete rewrite of the old gem and it’s not compatible. Also this release is a bit special because the new gem provides a command line interface (CLI) to manage all your videos, jobs, etc… In other words everything on HeyWatch.
Usage: heywatch RESOURCE:METHOD [ID] [parameter1=value1 parameter2=value2 ...]
Resources:
account # account information
video # manage video | all, info, delete, count, bin
encoded_video # manage encoded video | all, info, delete, count, bin, jpg
download # manage download | all, info, delete, count, create
job # manage job | all, info, delete, count, create
format # manage format | all, info, delete, count, create, update
Usage:
heywatch account
heywatch video:info 123456
heywatch job:all
heywatch download:create url=http://site.com/video.mp4 title=mytitle
heywatch encoded_video:jpg 9882322 start=4 > thumb.jpg
heywatch format:all owner=true video_codec=h264
heywatch video:all "[0]"
heywatch job:all "[0..10]"
heywatch format:count owner=true
Don’t hesitate to fork those libraries on github to improve / fix them. If you’ve wrote a lib yourself, please let us know so we can add it to the list.
1 Notes/ Hide
-
particle-s posted this


