diff --git a/README.md b/README.md index 4c97877..e877072 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ $vimeo->upload('/home/aaron/foo.mp4'); // Want to use a facade? Vimeo::uploadImage('/videos/123/images', '/home/aaron/bar.png', true); +Vimeo::upload($video, [ + 'name' => NAME, + 'privacy.view' => [ + 'anybody', + 'contacts', + 'disable', + 'nobody', + 'password', + 'unlisted', + 'users' + ], + 'folder_uri' => 'https://vimeo.com/manage/folders_name/folder_id' +]); +Vimeo::request('/videos/'. $value, ['per_page' => 2], 'GET'); ``` [![Build Status](https://img.shields.io/travis/vimeo/laravel/master.svg?style=flat)](https://travis-ci.org/vimeo/laravel) diff --git a/src/Rules/VimeoVideoIdValidationRule.php b/src/Rules/VimeoVideoIdValidationRule.php new file mode 100644 index 0000000..b9052ff --- /dev/null +++ b/src/Rules/VimeoVideoIdValidationRule.php @@ -0,0 +1,36 @@ +