How do I use logic app to get the live stream user numbers from a youtube channel?

Vivek Komarla Bhaskar 911 Reputation points
2023-10-18T14:28:45.9733333+00:00

How do I use a logic app to get the live-stream user numbers from a YouTube channel?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,904 questions
{count} votes

Accepted answer
  1. Sonny Gillissen 3,346 Reputation points
    2023-10-20T14:43:37.5866667+00:00

    Hi Vivek Komarla Bhaskar ,

    Thank you for reaching out on Microsoft Q&A!

    Looks like you can leverage the YouTube API for this purpose. Not as trigger though, and not using the built-in actions. However, you can perform a request using the HTTP action while building the URL as follows:

    GET https://youtube.googleapis.com/youtube/v3/videos?part=liveStreamingDetails&id=[YOUR_VIDEO_ID]&key=[YOUR_API_KEY] HTTP/1.1

    Authorization: Bearer [YOUR_ACCESS_TOKEN]

    Accept: application/json

    Please find the full documentation below:

    https://developers.google.com/youtube/v3/docs/videos/list

    Keep in mind that you should also authenticate first, which can also be done using a HTTP action. Documentation for YouTube authentication can be found here:

    https://developers.google.com/youtube/v3/guides/authentication

    Please click “Accept answer” if you find this helpful. Feel free to drop additional queries in the comments below!

    Kind regards,

    Sonny


1 additional answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,396 Reputation points Microsoft Employee
    2023-10-19T10:09:13.9533333+00:00

    @Vivek Komarla Bhaskar Thanks for reaching out to Microsoft Q&A.

    Currently the Youtube connector supports only below set of triggers only and it doesn't support any actions.

    User's image

    I would suggest you raise a feedback request here. Our engineering team will be actively monitoring this forum and check the feasibility accordingly.

    Feel Free to reach back to me if you have any further questions on this.

    0 comments No comments