Home | Index

Yahoo! Live REST Web Services

/channel/PERMALINK/coviewers

This call is used to retrieve all viewers of the given channel who are also broadcasting. See below for a sample of the XML data returned from this query. /channel/PERMALINK/coviewers/count is also available to retrieve only the count of coviewers.

Example 10. XML Output from viewer collection requests

The following XML example shows how all the requests in this section are formatted. Channel nodes represent the viewer's channel. Broadcast nodes represent that the viewer is a coviewer and actively broadcasting.

<viewers yahoo:total="42" yahoo:start="1" yahoo:count="10">
    <viewer yahoo:created="1969-12-31T16:00:00-08:00Z"
            yahoo:updated="1969-12-31T16:00:00-08:00Z"
            id="JOLLBFERTru9Vu6XEqOA">
        <channel id="freakshow"
                 yahoo:uri="http://live.yahooapis.com/v1/channel/freakshow"/>
        <user id="freakshow"
              yahoo:uri="http://live.yahooapis.com/v1/user/freakshow"/>
        <broadcast id="FhS15kkcSf47FsrZqU369c0-"
                   yahoo:uri="http://live.yahooapis.com/v1/broadcast/FhS15kkcSf47FsrZqU369c0-"/>
    </viewer>
    .
    .
    .
</viewers>