How to embed the Google API in my extension

Hey,
I am new on Twitch Extension Development.
Can somebody help me?
I want to request the YouTube API in my PHP Script. It’s working just fine on the Browser. But in the Twitch extension, it won’t work.
Thanks for your ideas

Your front end calls you backend (and ebs) and the backend calls the google api and returns the data

As a Twitch Extension is:

  • a static front end hosted on a Twitch server that can’t run anything
  • with an optional backend on your server that can do whatever you want