Skip to content

This is a template project for Hololive fans to easily fetch their favorite Hololive YouTube videos. The code is written in Java, utilizing HTTP calls from the YouTube API for video crawling, without the use of third-party libraries

License

Notifications You must be signed in to change notification settings

SeiSilver/hololive-clip-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hololive-clip-api

Maven License

This Code use Java with HTTP Call from Youtube API to crawl videos, not using third party library

Getting Started


Config

Go to src/main/resources/application.properties and replace {YOUR_API_KEY} with your API Key

application.youtube.apiKey={YOUR_API_KEY}

Installation


  1. Clone the repo
    git clone https://github.com/SeiSilver/hololive-clip-api.git
  2. Build code
    mvn clean install
  3. Run
    java -jar target/hololive-clip-api-0.0.1.jar

Usage


Call API: http://localhost:8080/clips/api/search?query=&size=&pageToken=

query: video title or talent you want to search (required)
size: number of videos (default value is 50) (optional)
pageToken: token use to move to next page of the result (optional)

Note

  • Calling Api from YouTube will consume some of your Quota, daily your quota will refill to 10000
  • For search request will consume 100 Quota per request

For more detail: Quota Cost

Document


Youtube API Document

About

This is a template project for Hololive fans to easily fetch their favorite Hololive YouTube videos. The code is written in Java, utilizing HTTP calls from the YouTube API for video crawling, without the use of third-party libraries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages