Skip to content

Commit f0e9329

Browse files
committed
update README
1 parent 34a2bd0 commit f0e9329

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.markdown

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ With the release of version two of the Zencoder API, there are some new methods
3535
* Zencoder::Input.progress(input\_id)
3636
* Zencoder::Output.details(output\_id)
3737
* Zencoder::Report.minutes(:from => "2011-01-01", :to => "2011-03-01")
38+
* Zencoder::Report.all(:from => "2011-01-01", :to => "2011-03-01")
39+
* Zencoder::Report.live(:from => "2011-01-01", :to => "2011-03-01")
40+
* Zencoder::Report.vod(:from => "2011-01-01", :to => "2011-03-01")
3841

3942
These new methods will not work with older versions of the API. Please see the [Zencoder documentation](https://app.zencoder.com/docs) and our [blog post on the subject](http://blog.zencoder.com/2012/01/05/announcing-zencoder-api-v2/) for more information on APIv2.
4043

@@ -279,6 +282,30 @@ This will list the minutes used for your account within a certain, configurable
279282
Zencoder::Report.minutes(:from => "2011-10-30", :to => "2011-11-24")
280283
```
281284

285+
### all
286+
287+
This will list all usage, including VOD and Live for your account within a certain, configurable range.
288+
289+
```ruby
290+
Zencoder::Report.all(:from => "2011-10-30", :to => "2011-11-24")
291+
```
292+
293+
### vod
294+
295+
This will list just VOD usage for your account within a certain, configurable range.
296+
297+
```ruby
298+
Zencoder::Report.vod(:from => "2011-10-30", :to => "2011-11-24")
299+
```
300+
301+
### live
302+
303+
This will list just Live usage for your account within a certain, configurable range.
304+
305+
```ruby
306+
Zencoder::Report.live(:from => "2011-10-30", :to => "2011-11-24")
307+
```
308+
282309
## Advanced HTTP
283310

284311
### Alternate HTTP Libraries

0 commit comments

Comments
 (0)