Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Youtube API Integration

Discussion in 'Android' started by chucky-w, Apr 16, 2015.

  1. chucky-w

    chucky-w

    Joined:
    Feb 4, 2014
    Posts:
    14
    Hi,
    it there any (simple :) way to integrate Youtube API (V3) into a Unity game? I already use Google Play Services (via Prime31 plugin), so it probably would be the best to use its authentication.
    Could someone, please, direct me to some documentation or provide some help? All I want is to authenticate to Youtube Data API and read information about user's subscriptions...
    I've read google's docs about Youtube API and I probably can write all the functionality, I need in Java, but I have no idea, how to connect it to Unity (well I know something about native plugins, but it looks to me as an overkill to to integrate whole google api as native plugin, especially when I already have google play services...).

    Thanks a lot
     
  2. ayyappa

    ayyappa

    Joined:
    Jan 4, 2014
    Posts:
    27
    I know i'm almost late by your project time span :p . But just adding in here my thoughts.

    I'm currently trying REST API for Youtube V3 and will update you soon.
     
  3. 128bit

    128bit

    Joined:
    Oct 8, 2014
    Posts:
    117
    Its actually doable inside unity3d, with just unitys default www functionality, without any fancy plugins or so. As long as you just want to get/search/play videos =)
     
    RaoulWB likes this.
  4. tobicreaper

    tobicreaper

    Joined:
    Apr 30, 2013
    Posts:
    69
    can anyone please teach here how to do it ? from scratch. I will be highly grateful. Thanks
     
  5. 128bit

    128bit

    Joined:
    Oct 8, 2014
    Posts:
    117
    Just have a look at the api and how it works. Il think its not possible to teach how it works from scratch in any other way.
     
    Last edited: Jun 16, 2015