YouTubeAPI - Fully Recoded
1.2Get 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:
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());
}
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta