Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Lists and Adapters (2015) Updating the Data Model From JSONArray to a Java Array

How to find the API KEY in YOUTUBE API ?

hi all,

i'm trying to develop an app as i did stormy but trying to include a video therefore i dare to go youtube API but according to ben's examples first of all i need to get the URL with the api key as first step in stormy when coding in main activity:

Example:

the URL of forecast io API

Thanks in advance. :)

2 Answers

Harry James
Harry James
14,780 Points

Hey there Mario,

There's instructions on how to get this working on the YouTube Developer Page which tells you to register for the YouTube API from your Google Developers Console.

Just follow along with the instructions listed here to get your key and get started!


If you run into any trouble on the way though, leave a comment down here and I'll get back to you as soon as I can :)

Thank you so much Harry. I will and let you know if i get stuck.

:)