hightemp / youtube-search-api-go

A Go package for interacting with YouTube's search functionality and retrieving video, channel, and playlist data.

Repository from Github https://github.comhightemp/youtube-search-api-goRepository from Github https://github.comhightemp/youtube-search-api-go

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.

About

A Go package for interacting with YouTube's search functionality and retrieving video, channel, and playlist data.


Languages

Language:Go 99.3%Language:Makefile 0.7%