08-31-2010 02:35 PM
Hi Developers,
I was searching, if I can get view count using rss output
http://support.brightcove.com/en/docs/brightcove-r
I was trying to use this api using output as rss
http://api.brightcove.com/services/library?token=<token>&command=find_all_videos&output=RSS
but I get
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:bc="http://www.brightcove.tv/link" xmlns:dcterms="http://purl.org/dc/terms/">
<channel>
<title> </title>
<link> </link>
<description/>
<copyright> </copyright>
<lastBuildDate> </lastBuildDate>
<generator> </generator>
<item>
<title> </title>
<link/>
<description</description>
<guid> </guid>
<pubDate>Wed</pubDate>
<dcterms:valid/>
</item>
</channel>
</rss>
What I am really looking for is how to get rss extention.
Thanks
Ashlesha
08-31-2010 03:46 PM
Hi,
To get the Brightcove extensions, you need to request MRSS, not RSS:
output=MRSS
However, my own testing doesn't show the "viewcount" element even with the extension---I suspect that document might be out of date. I'm going to do a little digging and I'll post back here with my findings.
hope that helps,
.chris
09-03-2010 02:55 PM
As far as I have been able to find out, that document is just incorrect---view count is not currently available from the media APIs in MRSS. You can, however, get this data in the JSON format, as "playsTotal" and "playsTrailingWeek".
hope that helps,
.chris
Brightcove Inc., a leading global provider of cloud content services, provides a family of products used to publish and distribute the world's professional digital media. The company's products include Brightcove Video Cloud, the market-leading online video platform, and Brightcove App Cloud, the pioneering content app platform. Together, more than 4,200 customers in 50 countries rely on Brightcove's cloud content services to build and operate exceptional media experiences across PCs, smartphones, tablets and connected TVs.
Brightcove Inc.
© 2012 Brightcove Inc.
