YouTubeAPI - Fully Recoded icon

YouTubeAPI - Fully Recoded -----

Get the suscribers, total views and more of a YouTube channel in a very easy way



You have to install it as a plugin in plugins folder, after in your project add the plugin as an dependecy on your project and start coding.

In the config.yml file you will have to set your youtube api key for make the api work, if you don't know how to create one use this tutorial.


Example:
Code (Text):
    if (cmd.getName().equalsIgnoreCase("example")) {
 
        YouTubeAPI youTubeAPI = new YouTubeAPI(channel_id, YouTubeChannelType.CHANNEL_ID);
        p.sendMessage(ChatColor.GOLD + "Channel name: " + ChatColor.YELLOW + youTubeAPI.getChannelName());
        p.sendMessage(ChatColor.GOLD + "Channel description: " + ChatColor.YELLOW + youTubeAPI.getChannelDescription());
        p.sendMessage(ChatColor.GOLD + "Suscribers: " + ChatColor.YELLOW + youTubeAPI.getSuscriberCount());
        p.sendMessage(ChatColor.GOLD + "Videos: " + ChatColor.YELLOW + youTubeAPI.getVideoCount());
        p.sendMessage(ChatColor.GOLD + "Total views: " + ChatColor.YELLOW + youTubeAPI.getTotalViews());
 
    }
Captura.PNG
Resource Information
Author:
----------
Total Downloads: 434
First Release: Jul 25, 2018
Last Update: Jan 21, 2022
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings