Skip to content

Commit 8e047c8

Browse files
author
shukri yusof
committed
chore: add another example for facade
1 parent c0ba374 commit 8e047c8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ $vimeo->upload('/home/aaron/foo.mp4');
1313

1414
// Want to use a facade?
1515
Vimeo::uploadImage('/videos/123/images', '/home/aaron/bar.png', true);
16+
Vimeo::upload($video, [
17+
'name' => NAME,
18+
'privacy.view' => [
19+
'anybody',
20+
'contacts',
21+
'disable',
22+
'nobody',
23+
'password',
24+
'unlisted',
25+
'users'
26+
],
27+
'folder_uri' => 'https://vimeo.com/manage/folders_name/folder_id'
28+
]);
29+
Vimeo::request('/videos/'. $value, ['per_page' => 2], 'GET');
1630
```
1731

1832
[![Build Status](https://img.shields.io/travis/vimeo/laravel/master.svg?style=flat)](https://travis-ci.org/vimeo/laravel)

0 commit comments

Comments
 (0)