You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/hightemp/youtube-search-api-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/hightemp/youtube-search-api-go

v0.0.0-20250302115600-bb35eaa4c408
Source
Go
Version published
Created
Source

youtube-search-api-go

A Go package for interacting with YouTube's search functionality and retrieving video, channel, and playlist data. Based on https://github.com/damonwonghv/youtube-search-api.

Features

  • Search for videos, channels, and playlists
  • Get video details
  • Get channel information
  • Get playlist data
  • Retrieve short video data
  • Get suggested videos

Usage

Install

go get -u github.com/yourusername/youtube-search-api-go

Import the package in your Go code:

import "github.com/yourusername/youtube-search-api-go/pkg/youtubesearchapi"

Use the provided functions to interact with YouTube data. For example:

result, err := youtubesearchapi.GetData("golang tutorial", true, 5, nil)
if err != nil {
    // Handle error
}
// Process the result

License

This project is licensed under the MIT License.

FAQs

Package last updated on 02 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts