Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple YouTube search api from scratch

Notifications You must be signed in to change notification settings

Shiroechi/YouTubeSearchApi-Java

Repository files navigation

YouTube Search API

Simple library for searching YT video

Badges

CodeFactor

How to use

String key = "api key";
YouTubeSearchClient client = new YouTubeSearchClient(key);
String output = client.Search("anime", "snippet", "video", 10);
System.out.println(output);

the output will give 10 video with "anime" keyword in JSON format.

or if you don't have api key use this:

YoutubeClient client = new YoutubeClient();
List<YoutubeVideo> video = client.search("anime", 5);

this will give 5 video with "anime" keyword.

Build

  • Build with JDK 8

Donation

ko-fi

About

Simple YouTube search api from scratch

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Contributors 3

Languages

AltStyle によって変換されたページ (->オリジナル) /