I was looking for any way to get the result of ongoing poll in live stream and get updates about it, But I haven't got in the YouTube Api docs.
I don't want to try to extract or build chrome extension for it. As it may not be ethically allowed by YouTube (I am not sure, just guess).
If there isn't any another way, we will have no other way than to extract the web pages.
And Secondary Question
If anyone has worked with Youtube Api. Does YouTube exceed our limit easily or will it take longer time and have rejections for it? [Regarding the process to increase the limit of 10000 quota on free use of api.]
One more time YouTube Data API v3 doesn't provide a basic feature.
I recommend you to try out my open-source YouTube operational API. Indeed by fetching https://yt.lemnoslife.com/lives?part=poll&id=VIDEO_ID, you will get the poll you are looking for in item["poll"]
.
Here is an example response:
{
"kind": "youtube#videoListResponse",
"etag": "NotImplemented",
"items": [
{
"kind": "youtube#video",
"etag": "NotImplemented",
"id": "VIDEO_ID",
"poll": {
"question": "Question",
"choices": [
{
"text": "First choice",
"voteRatio": 1
},
{
"text": "Second choice",
"voteRatio": 0
}
],
"channelName": "Benjamin Loison",
"timestamp": "2\u00a0min ago",
"totalVotes": 2,
"channelThumbnails": [
{
"url": "https:\/\/yt4.ggpht.com\/ijUcEdCQW8vxf5pkiKVANsW3rCVTjXPbmtE2unfplLJUcmYYzFofB8ZPV-1d-NUpFfE44nzSfQ=s32-c-k-c0x00ffffff-no-rj",
"width": 32,
"height": 32
},
{
"url": "https:\/\/yt4.ggpht.com\/ijUcEdCQW8vxf5pkiKVANsW3rCVTjXPbmtE2unfplLJUcmYYzFofB8ZPV-1d-NUpFfE44nzSfQ=s64-c-k-c0x00ffffff-no-rj",
"width": 64,
"height": 64
}
]
}
}
]
}