Skip to content

pinceladasdaweb/YoutubeTV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoutubeTV

Experiment with the Youtube API using PHP and JavaScript

What is it?

YoutubeTV is a experiment with the Youtube API using PHP and JavaScript (without frameworks), giving you an option to assemble a portfolio using your Youtube channel.

Requirements

  • PHP >=5.3
  • CURL extension in PHP

Demo

View demo here.

Getting Started

# Get the latest snapshot
$ git clone git@github.com:pinceladasdaweb/YoutubeTV.git

How to use?

Open the config.php config.php file and fill with your informations.

<?php

return [
    'youtube' => [
        'apiKey' => 'Your APY KEY here', // Your API KEY
        'user'   => 'Youtube user', // Youtube user to display videos
        'maxResults' => 13 // Number of videos to display
    ]
];

Here's how to get your API KEY: https://developers.google.com/youtube/v3/getting-started.

Browser Support

IE Chrome Firefox Opera Safari
IE 10+ ✔ Latest ✔ Latest ✔ Latest ✔ Latest ✔

Contributing

Check CONTRIBUTING.md for more information.

History

Check Releases for detailed changelog.

License

MIT